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

/freebsd-11.0-release/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...]
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Diapp.c173 int udp_sock; member in struct:iapp_data
205 if (sendto(iapp->udp_sock, buf, (char *) (add + 1) - buf, 0,
319 len = recvfrom(iapp->udp_sock, buf, sizeof(buf), 0,
393 iapp->udp_sock = iapp->packet_sock = -1;
399 iapp->udp_sock = socket(PF_INET, SOCK_DGRAM, 0);
400 if (iapp->udp_sock < 0) {
409 if (ioctl(iapp->udp_sock, SIOCGIFINDEX, &ifr) != 0) {
417 if (ioctl(iapp->udp_sock, SIOCGIFADDR, &ifr) != 0) {
432 if (ioctl(iapp->udp_sock, SIOCGIFBRDADDR, &ifr) != 0) {
450 if (bind(iapp->udp_sock, (struc
[all...]

Completed in 60 milliseconds