Searched refs:udpFd (Results 1 – 1 of 1) sorted by relevance
/test/xts/acts/kernel_lite/net_posix/src/ |
D | ActsNetTest.cpp | 1089 int udpFd = socket(AF_INET, SOCK_DGRAM, 0); variable 1090 ASSERT_NE(-1, udpFd); 1098 int ret = ioctl(udpFd, SIOCGIFCONF, (char *)&ifc); 1105 ret = close(udpFd); 1116 int udpFd = socket(AF_INET, SOCK_DGRAM, 0); variable 1117 ASSERT_NE(-1, udpFd); 1124 ret = ioctl(udpFd, SIOCGIFADDR, &ifr); 1132 ret = ::bind(udpFd, (struct sockaddr*)srvAddr, sizeof(sockaddr_in)); 1139 ret = sendto(udpFd, msg, msgLen, 0, (struct sockaddr*)&clnAddr, (socklen_t)sizeof(clnAddr)); 1143 ret = ioctl(udpFd, FIONREAD, &bytes); [all …]
|