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 <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "ciptcpipinterface.h"
#include "networkconfig.h"
#include "cipcommon.h"
#include "ciperror.h"
#include "trace.h"
#include "opener_api.h"
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <net/if.h>
#include <netinet/in.h>
#include <errno.h>
#include <arpa/inet.h>
#include <unistd.h>
Include dependency graph for networkconfig.c:

Go to the source code of this file.

Macros

#define LOOPBACK_BINARY   0x7f000001
 

Functions

void ConfigureDomainName ()
 Configure the domain name of the device. More...
 
void ConfigureHostName ()
 Configure the host name of the device. More...
 
void ConfigureMacAddress (const char *interface)
 Configure the MAC address 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 LOOPBACK_BINARY   0x7f000001

Definition at line 29 of file networkconfig.c.

Referenced by ConfigureNetworkInterface().