#ifndef __ip_h__
#define __ip_h__


#ifdef __cplusplus
extern "C" {
#endif

int ipInit(void);

// returns 0 if the IP address given is the same as the SideARM, -1 otherwise
int ipIsSideARMAddr(unsigned char * compareIpAddr);

// get routines to support metadata get command
int ipCpuAddrGet(char *ipCpuAddr);
int ipCpuNetmaskGet(char *ipCpuNetmask);
int ipCpuGatewayGet(char *ipCpuGateway);
int ipSidearmAddrGet(char *ipSidearmAddr);

#ifdef __cplusplus
}
#endif

#endif /* __ip_h__ */

