summaryrefslogtreecommitdiff
path: root/devices.h
blob: dd8abe5d93ae51acaff01968bddb1f4032691f43 (plain)
1
2
3
4
extern int get_device_index(int sockfd, char *deviceName);
extern int get_device_mac(const int sockfd, const char *deviceName, unsigned char *mac);
extern int get_device_ip(const int sockfd, const char *deviceName, struct sockaddr_in *ip);
int get_ips(char *name, int nameLen, struct sockaddr_in *ip);