Lines Matching defs:sd
946 SOCKET sd = WSASocket(AF_INET, SOCK_DGRAM, 0, 0, 0, 0);
947 if (sd == SOCKET_ERROR) /* Socket invalid. */
966 if (WSAIoctl(sd,
1032 if (sd >= 0)
1033 closesocket(sd);
1118 int sd = socket(AF_INET, SOCK_DGRAM, 0);
1119 if (sd < 0)
1143 if (ioctl(sd, SIOCGIFCONF, &IfConf) >= 0)
1163 close(sd);
1217 if (ioctl(sd, SIOCGIFFLAGS, &IfReqTmp) < 0)
1237 if (ioctl(sd, SIOCGIFBRDADDR, &IfReqTmp) < 0)
1249 if (ioctl(sd, SIOCGIFNETMASK, &IfReqTmp) < 0)
1276 if (ioctl(sd, SIOCGLIFADDR, &IfReq) >= 0)
1282 if (ioctl(sd, SIOCGARP, &ArpReq) >= 0)
1307 if (ioctl(sd, SIOCGIFHWADDR, &IfReqTmp) < 0)
1341 close(sd);