Searched refs:udp_sock (Results 1 - 3 of 3) sorted by last modified time

/freebsd-11-stable/contrib/wpa/src/ap/
H A Diapp.c169 int udp_sock; member in struct:iapp_data
201 if (sendto(iapp->udp_sock, buf, (char *) (add + 1) - buf, 0,
315 len = recvfrom(iapp->udp_sock, buf, sizeof(buf), 0,
390 iapp->udp_sock = iapp->packet_sock = -1;
396 iapp->udp_sock = socket(PF_INET, SOCK_DGRAM, 0);
397 if (iapp->udp_sock < 0) {
406 if (ioctl(iapp->udp_sock, SIOCGIFINDEX, &ifr) != 0) {
414 if (ioctl(iapp->udp_sock, SIOCGIFADDR, &ifr) != 0) {
429 if (ioctl(iapp->udp_sock, SIOCGIFBRDADDR, &ifr) != 0) {
448 if (setsockopt(iapp->udp_sock, SOL_SOCKE
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.c347 int udp_sock; member in struct:rsocket::__anon3896::__anon3898
601 rs->udp_sock = -1;
958 if (rs->udp_sock >= 0)
959 close(rs->udp_sock);
1085 rs->udp_sock = socket(domain, SOCK_DGRAM, 0);
1086 if (rs->udp_sock < 0)
1087 return rs->udp_sock;
1158 index = rs->udp_sock;
1190 ret = bind(rs->udp_sock, addr, addrlen);
1423 ret = getsockname(rs->udp_sock,
[all...]
/freebsd-11-stable/tools/regression/netinet/msocket/
H A Dmsocket.c192 test_ttl(int raw_sock, int tcp_sock, int udp_sock) argument
200 "udp_sock", udp_sock, 0);
204 test_loop(int raw_sock, int tcp_sock, int udp_sock) argument
212 "udp_sock", udp_sock, 0);
216 test_if(int raw_sock, int tcp_sock, int udp_sock) argument
233 fakev, "udp_sock", udp_sock, 0);
325 test_addr(int raw_sock, int tcp_sock, int udp_sock) argument
435 int raw_sock, tcp_sock, udp_sock; local
[all...]

Completed in 115 milliseconds