/netbsd-current/external/bsd/ntp/dist/lib/isc/ |
H A D | sockaddr.c | 353 #if (AF_INET == PF_INET && AF_INET6 == PF_INET6) 361 return (PF_INET);
|
/netbsd-current/external/bsd/libevent/dist/test/ |
H A D | regress_dns.c | 1532 a = ai_find_by_family(local_outcome.ai, PF_INET); 1553 a = ai_find_by_family(local_outcome.ai, PF_INET); 1574 a = ai_find_by_family(local_outcome.ai, PF_INET); 1630 /* 3: PF_INET request for v4assert.example.com should not generate a 1632 hints.ai_family = PF_INET; 1644 /* 5: PF_INET request for nosuchplace.example.com should give NEXIST. */ 1645 hints.ai_family = PF_INET; 1714 a = ai_find_by_family(a_out[0].ai, PF_INET); 1770 a = ai_find_by_family(a_out[9].ai, PF_INET); 1779 tt_assert(ai_find_by_family(a_out[9].ai, PF_INET)); [all...] |
H A D | regress_util.c | 1034 hints.ai_family = PF_INET; 1081 a = ai_find_by_family(ai, PF_INET); 1152 hints.ai_family = PF_INET; 1160 tt_int_op(ai->ai_family, ==, PF_INET);
|
/netbsd-current/sys/rump/net/lib/libsockin/ |
H A D | sockin.c | 150 .dom_family = PF_INET, 452 KASSERT(family == PF_INET || family == PF_INET6);
|
/netbsd-current/lib/libc/net/ |
H A D | getaddrinfo.c | 149 {PF_INET, sizeof(struct in_addr), 176 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 177 { PF_INET, SOCK_STREAM, IPPROTO_TCP, "tcp", 0x07 }, 178 { PF_INET, SOCK_RAW, ANY, NULL, 0x05 }, 498 case PF_INET: 536 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) 547 pai->ai_family = PF_INET; 2498 if (pai->ai_family == PF_UNSPEC || pai->ai_family == PF_INET) {
|
H A D | getnameinfo.c | 93 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/ |
H A D | sockaddr.c | 339 #if (AF_INET == PF_INET && AF_INET6 == PF_INET6) 344 #else /* if (AF_INET == PF_INET && AF_INET6 == PF_INET6) */ 347 return (PF_INET); 354 #endif /* if (AF_INET == PF_INET && AF_INET6 == PF_INET6) */
|
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpd/ |
H A D | hkpd.c | 165 hints.ai_family = (fam == 4) ? PF_INET : PF_INET6;
|
/netbsd-current/lib/libpam/modules/pam_radius/ |
H A D | pam_radius.c | 132 hints.ai_family = PF_INET;
|
/netbsd-current/external/bsd/wpa/dist/src/drivers/ |
H A D | driver_wired.c | 231 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
|
H A D | driver_roboswitch.c | 397 drv->fd = socket(PF_INET, SOCK_DGRAM, 0);
|
/netbsd-current/usr.bin/nc/ |
H A D | socks.c | 73 hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
|
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/ |
H A D | regress_util.c | 958 hints.ai_family = PF_INET; 1005 a = ai_find_by_family(ai, PF_INET); 1076 hints.ai_family = PF_INET; 1084 tt_int_op(ai->ai_family, ==, PF_INET);
|
/netbsd-current/external/bsd/libpcap/dist/ |
H A D | sockutils.c | 383 if (saddr->sa_family == PF_INET) 1149 * This software only supports PF_INET and PF_INET6. 1152 * either PF_INET or PF_INET6, and, when using the list, 1156 if (((*addrinfo)->ai_family != PF_INET) && 2096 if (addrinfo->ai_family == PF_INET)
|
/netbsd-current/sys/net/ |
H A D | if_gif.c | 213 SYSCTL_DESCR("PF_INET related settings"), 215 CTL_NET, PF_INET, CTL_EOL); 221 CTL_NET, PF_INET, IPPROTO_IP, CTL_EOL); 228 CTL_NET, PF_INET, IPPROTO_IP,
|
/netbsd-current/sys/netinet/ |
H A D | ip_carp.c | 2456 CTL_NET, PF_INET, CTL_EOL); 2462 CTL_NET, PF_INET, IPPROTO_CARP, CTL_EOL); 2469 CTL_NET, PF_INET, IPPROTO_CARP, 2476 CTL_NET, PF_INET, IPPROTO_CARP, 2483 CTL_NET, PF_INET, IPPROTO_CARP, 2490 CTL_NET, PF_INET, IPPROTO_CARP, 2497 CTL_NET, PF_INET, IPPROTO_CARP, CARPCTL_STATS,
|
H A D | dccp_usrreq.c | 1076 case PF_INET: 2128 case PF_INET: 2659 case PF_INET: 3072 CTL_NET, PF_INET, CTL_EOL); 3079 CTL_NET, PF_INET, IPPROTO_DCCP, CTL_EOL); 3086 CTL_NET, PF_INET, IPPROTO_DCCP, DCCPCTL_LOGINVAIN, 3094 CTL_NET, PF_INET, IPPROTO_DCCP, DCCPCTL_DOFEATURENEGO,
|
H A D | in_proto.c | 477 .dom_family = PF_INET, .dom_name = "internet", .dom_init = NULL,
|
/netbsd-current/usr.sbin/ldpd/ |
H A D | ldp_command.c | 152 s = socket(PF_INET, SOCK_STREAM, 6);
|
/netbsd-current/external/bsd/wpa/dist/src/l2_packet/ |
H A D | l2_packet_linux.c | 448 s = socket(PF_INET, SOCK_DGRAM, 0);
|
/netbsd-current/external/bsd/wpa/dist/src/ap/ |
H A D | iapp.c | 396 iapp->udp_sock = socket(PF_INET, SOCK_DGRAM, 0); 398 wpa_printf(MSG_INFO, "iapp_init - socket[PF_INET,SOCK_DGRAM]: %s",
|
/netbsd-current/external/bsd/wpa/dist/src/radius/ |
H A D | radius_das.c | 517 s = socket(PF_INET, SOCK_DGRAM, 0);
|
/netbsd-current/tests/net/bpfilter/ |
H A D | t_bpfilter.c | 172 s = rump_sys_socket(PF_INET, SOCK_RAW, IPPROTO_ICMP);
|
/netbsd-current/external/mpl/dhcp/dist/omapip/ |
H A D | listener.c | 124 obj -> socket = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP);
|
/netbsd-current/sys/sys/ |
H A D | socket.h | 317 #define PF_INET AF_INET macro
|