Home
last modified time | relevance | path

Searched refs:udp_sock (Results 1 – 2 of 2) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Diapp.c169 int udp_sock; member
201 if (sendto(iapp->udp_sock, buf, (char *) (add + 1) - buf, 0, in iapp_send_add()
315 len = recvfrom(iapp->udp_sock, buf, sizeof(buf), 0, in iapp_receive_udp()
390 iapp->udp_sock = iapp->packet_sock = -1; in iapp_init()
396 iapp->udp_sock = socket(PF_INET, SOCK_DGRAM, 0); in iapp_init()
397 if (iapp->udp_sock < 0) { in iapp_init()
406 if (ioctl(iapp->udp_sock, SIOCGIFINDEX, &ifr) != 0) { in iapp_init()
414 if (ioctl(iapp->udp_sock, SIOCGIFADDR, &ifr) != 0) { in iapp_init()
429 if (ioctl(iapp->udp_sock, SIOCGIFBRDADDR, &ifr) != 0) { in iapp_init()
448 if (setsockopt(iapp->udp_sock, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, in iapp_init()
[all …]
/third_party/boost/libs/asio/test/
Dsocket_base.cpp209 ip::udp::socket udp_sock(ioc, ip::udp::v4()); in test() local
220 udp_sock.set_option(broadcast1, ec); in test()
224 udp_sock.get_option(broadcast2, ec); in test()
234 udp_sock.set_option(broadcast3, ec); in test()
238 udp_sock.get_option(broadcast4, ec); in test()
250 udp_sock.set_option(debug1, ec); in test()
267 udp_sock.get_option(debug2, ec); in test()
289 udp_sock.set_option(debug3, ec); in test()
303 udp_sock.get_option(debug4, ec); in test()
327 udp_sock.set_option(do_not_route1, ec); in test()
[all …]