Searched refs:inetSocket (Results 1 – 1 of 1) sorted by relevance
78 int inetSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in GetMacAddress() local79 if (inetSocket == -1) in GetMacAddress()86 if((ioctl(inetSocket, SIOCGIFCONF, &interfaceConfiguration)) == -1) in GetMacAddress()88 close(inetSocket); in GetMacAddress()100 if (ioctl(inetSocket, SIOCGIFFLAGS, &interfaceRequest) == 0) in GetMacAddress()105 if (ioctl(inetSocket, SIOCGIFHWADDR, &interfaceRequest) == 0) in GetMacAddress()124 close(inetSocket); in GetMacAddress()