Searched refs:interfaceRequest (Results 1 – 1 of 1) sorted by relevance
74 struct ifreq interfaceRequest = {0}; in GetMacAddress() local99 strcpy(interfaceRequest.ifr_name, intefaceRequestStart->ifr_name); in GetMacAddress()100 if (ioctl(inetSocket, SIOCGIFFLAGS, &interfaceRequest) == 0) in GetMacAddress()103 if ((interfaceRequest.ifr_flags & IFF_LOOPBACK) == 0) in GetMacAddress()105 if (ioctl(inetSocket, SIOCGIFHWADDR, &interfaceRequest) == 0) in GetMacAddress()121 memcpy(deviceID.t.buffer, interfaceRequest.ifr_hwaddr.sa_data, size); in GetMacAddress()