Searched refs:PF_INET (Results 76 - 100 of 159) sorted by relevance

1234567

/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Dsockaddr.c353 #if (AF_INET == PF_INET && AF_INET6 == PF_INET6)
361 return (PF_INET);
/netbsd-current/external/bsd/libevent/dist/test/
H A Dregress_dns.c1532 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 Dregress_util.c1034 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 Dsockin.c150 .dom_family = PF_INET,
452 KASSERT(family == PF_INET || family == PF_INET6);
/netbsd-current/lib/libc/net/
H A Dgetaddrinfo.c149 {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 Dgetnameinfo.c93 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dsockaddr.c339 #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 Dhkpd.c165 hints.ai_family = (fam == 4) ? PF_INET : PF_INET6;
/netbsd-current/lib/libpam/modules/pam_radius/
H A Dpam_radius.c132 hints.ai_family = PF_INET;
/netbsd-current/external/bsd/wpa/dist/src/drivers/
H A Ddriver_wired.c231 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
H A Ddriver_roboswitch.c397 drv->fd = socket(PF_INET, SOCK_DGRAM, 0);
/netbsd-current/usr.bin/nc/
H A Dsocks.c73 hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_util.c958 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 Dsockutils.c383 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 Dif_gif.c213 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 Dip_carp.c2456 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 Ddccp_usrreq.c1076 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 Din_proto.c477 .dom_family = PF_INET, .dom_name = "internet", .dom_init = NULL,
/netbsd-current/usr.sbin/ldpd/
H A Dldp_command.c152 s = socket(PF_INET, SOCK_STREAM, 6);
/netbsd-current/external/bsd/wpa/dist/src/l2_packet/
H A Dl2_packet_linux.c448 s = socket(PF_INET, SOCK_DGRAM, 0);
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Diapp.c396 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 Dradius_das.c517 s = socket(PF_INET, SOCK_DGRAM, 0);
/netbsd-current/tests/net/bpfilter/
H A Dt_bpfilter.c172 s = rump_sys_socket(PF_INET, SOCK_RAW, IPPROTO_ICMP);
/netbsd-current/external/mpl/dhcp/dist/omapip/
H A Dlistener.c124 obj -> socket = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP);
/netbsd-current/sys/sys/
H A Dsocket.h317 #define PF_INET AF_INET macro

Completed in 422 milliseconds

1234567