OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
networkconfig.c File Reference
#include "ciptcpipinterface.h"
#include "networkconfig.h"
#include "cipcommon.h"
#include "ciperror.h"
#include "opener_api.h"
#include "trace.h"
#include "cipethernetlink.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <winsock2.h>
#include <windows.h>
#include <Ws2tcpip.h>
#include <iphlpapi.h>
Include dependency graph for networkconfig.c:

Go to the source code of this file.

Macros

#define MAX_TRIES   3
 
#define WIN32_LEAN_AND_MEAN
 
#define WORKING_BUFFER_SIZE   15000
 

Functions

void ConfigureDomainName ()
 Configure the domain name of the device. More...
 
void ConfigureHostName (void)
 Configure the host name of the device. More...
 
EipStatus ConfigureNetworkInterface (const char *const network_interface)
 Configure the data of the network interface of the device. More...
 

Macro Definition Documentation

#define MAX_TRIES   3

Definition at line 24 of file networkconfig.c.

Referenced by ConfigureDomainName().

#define WIN32_LEAN_AND_MEAN

Definition at line 6 of file networkconfig.c.

#define WORKING_BUFFER_SIZE   15000

Definition at line 23 of file networkconfig.c.

Referenced by ConfigureDomainName().