Searched refs:PF_INET (Results 51 - 75 of 159) sorted by relevance

1234567

/netbsd-current/tests/rump/rumpkern/h_client/
H A Dh_stresscli.c57 s = rump_sys_socket(PF_INET, SOCK_STREAM, 0);
/netbsd-current/tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c146 ai.ai_family = PF_INET;
/netbsd-current/sys/netinet/
H A Din_selsrc.c114 NULL, NULL, 0, NULL, 0, CTL_NET, PF_INET, CTL_EOL)) != 0) {
122 CTL_NET, PF_INET, IPPROTO_IP, CTL_EOL)) != 0) {
130 CTL_NET, PF_INET, IPPROTO_IP, CTL_CREATE, CTL_EOL)) != 0) {
514 CTL_NET, PF_INET, IPPROTO_IP, CTL_CREATE,
H A Dip_flow.c663 SYSCTL_DESCR("PF_INET related settings"),
665 CTL_NET, PF_INET, CTL_EOL);
671 CTL_NET, PF_INET, IPPROTO_IP, CTL_EOL);
678 CTL_NET, PF_INET, IPPROTO_IP,
685 CTL_NET, PF_INET, IPPROTO_IP,
H A Dip_reass.c175 SYSCTL_DESCR("PF_INET related settings"),
177 CTL_NET, PF_INET, CTL_EOL);
183 CTL_NET, PF_INET, IPPROTO_IP, CTL_EOL);
191 CTL_NET, PF_INET, IPPROTO_IP, IPCTL_MAXFRAGPACKETS, CTL_EOL);
H A Draw_ip.c883 CTL_NET, PF_INET, CTL_EOL);
889 CTL_NET, PF_INET, IPPROTO_RAW, CTL_EOL);
896 CTL_NET, PF_INET, IPPROTO_RAW,
H A Dsctp_usrreq.c3247 case PF_INET:
3274 case PF_INET:
3857 case PF_INET:
3878 if (ifa->ifa_addr->sa_family == PF_INET) {
3906 CTL_NET, PF_INET, CTL_EOL);
3912 CTL_NET, PF_INET, IPPROTO_SCTP, CTL_EOL);
3919 CTL_NET, PF_INET, IPPROTO_SCTP, SCTPCTL_MAXDGRAM,
3927 CTL_NET, PF_INET, IPPROTO_SCTP, SCTPCTL_RECVSPACE,
3935 CTL_NET, PF_INET, IPPROTO_SCTP, SCTPCTL_AUTOASCONF,
3943 CTL_NET, PF_INET, IPPROTO_SCT
[all...]
H A Dtcp_usrreq.c281 case PF_INET:
578 case PF_INET:
842 case PF_INET:
1102 case PF_INET:
1303 case PF_INET:
1525 if (pf != PF_INET)
1585 case PF_INET:
1674 case PF_INET:
2327 sysctl_net_inet_tcp_setup2(NULL, PF_INET, "inet", "tcp");
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-poll-oob.c181 client_fd = socket(PF_INET, SOCK_STREAM, 0);
/netbsd-current/external/bsd/blocklist/test/
H A Dsrvtest.c107 sfd = socket(af == AF_INET ? PF_INET : PF_INET6, type, 0);
/netbsd-current/external/bsd/ppp/dist/pppd/plugins/pppoe/
H A Dif.c111 domain = PF_INET;
/netbsd-current/usr.bin/sockstat/
H A Dsockstat.c430 case PF_INET:
576 case PF_INET:
630 else if (kp->ki_family == PF_INET
668 case PF_INET: {
/netbsd-current/external/mpl/bind/dist/lib/bind9/
H A Dgetaddresses.c108 hints.ai_family = PF_INET;
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dprivsep-bsd.c75 case PF_INET:
165 return ps_root_doioctldom(ctx, PF_INET, req, &ifr, sizeof(ifr));
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dmyaddrinfo.c118 /* available), PF_INET, or PF_INET6. This argument is ignored
260 ip->info.ai_family = PF_INET;
449 case PF_INET:
570 case PF_INET:
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dnet.c87 CTL_NET, PF_INET, IPPROTO_IP, IPCTL_IPPORT_HIFIRSTAUTO \
91 CTL_NET, PF_INET, IPPROTO_IP, IPCTL_IPPORT_HILASTAUTO \
196 ipv4_result = try_proto(PF_INET);
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_dns.c1415 a = ai_find_by_family(local_outcome.ai, PF_INET);
1436 a = ai_find_by_family(local_outcome.ai, PF_INET);
1457 a = ai_find_by_family(local_outcome.ai, PF_INET);
1513 /* 3: PF_INET request for v4assert.example.com should not generate a
1515 hints.ai_family = PF_INET;
1527 /* 5: PF_INET request for nosuchplace.example.com should give NEXIST. */
1528 hints.ai_family = PF_INET;
1597 a = ai_find_by_family(a_out[0].ai, PF_INET);
1653 a = ai_find_by_family(a_out[9].ai, PF_INET);
1662 tt_assert(ai_find_by_family(a_out[9].ai, PF_INET));
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dsockaddr.c333 #if (AF_INET == PF_INET && AF_INET6 == PF_INET6)
338 #else /* if (AF_INET == PF_INET && AF_INET6 == PF_INET6) */
341 return (PF_INET);
348 #endif /* if (AF_INET == PF_INET && AF_INET6 == PF_INET6) */
/netbsd-current/external/bsd/libbind/dist/irs/
H A Dgetnameinfo.c80 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
/netbsd-current/tests/lib/libc/net/
H A Dh_dns_server.c181 s = socket(protocol == '4' ? PF_INET : PF_INET6, SOCK_DGRAM, IPPROTO_UDP);
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/
H A Dnet.c106 ipv4_result = try_proto(PF_INET);
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/
H A Devutil.c970 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET &&
991 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */
1050 if (hints->ai_family == PF_INET || hints->ai_family == PF_UNSPEC) {
1148 if (ent->h_addrtype == PF_INET) {
1209 hints->ai_family = PF_INET;
1516 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6)
/netbsd-current/external/bsd/libevent/dist/
H A Devutil.c1008 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET &&
1029 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */
1090 if (hints->ai_family == PF_INET || hints->ai_family == PF_UNSPEC) {
1188 if (ent->h_addrtype == PF_INET) {
1248 hints->ai_family = PF_INET;
1567 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6)
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dctrl_iface_udp.c389 int domain = PF_INET;
415 wpa_printf(MSG_ERROR, "socket(PF_INET): %s", strerror(errno));
731 priv->sock = socket(PF_INET, SOCK_DGRAM, 0);
733 wpa_printf(MSG_ERROR, "socket(PF_INET): %s", strerror(errno));
/netbsd-current/sys/dist/pf/net/
H A Dpf_osfp.c103 if ((pd->af != PF_INET && pd->af != PF_INET6) ||
107 if (pd->af == PF_INET) {

Completed in 405 milliseconds

1234567