summaryrefslogtreecommitdiff
path: root/devices.h
blob: d917401fbe8395d40c100443394f0df5d45c1a53 (plain)
1
2
3
4
extern int getDeviceIndex(int sockfd, char *deviceName);
extern int getDeviceMAC(const int sockfd, const char *deviceName, unsigned char *mac);
extern int getDeviceIp(const int sockfd, const char *deviceName, struct sockaddr_in *ip);
int getIps(char *name, int nameLen, struct sockaddr_in *ip);