Searched refs:PF_INET6 (Results 1 - 25 of 88) sorted by relevance

1234

/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dipv6-internal.h75 #ifndef PF_INET6
76 #define PF_INET6 AF_INET6 macro
/freebsd-11-stable/tools/regression/netinet6/ip6_sockets/
H A Dip6_sockets.c50 s = socket(PF_INET6, SOCK_DGRAM, 0);
52 err(-1, "socket(PF_INET6, SOCK_DGRAM, 0)");
59 s = socket(PF_INET6, SOCK_DGRAM, 0);
61 err(-1, "socket(PF_INET6, SOCK_DGRAM, 0)");
74 s = socket(PF_INET6, SOCK_STREAM, 0);
76 err(-1, "socket(PF_INET6, SOCK_STREAM, 0)");
82 s = socket(PF_INET6, SOCK_RAW, 0);
84 err(-1, "socket(PF_INET6, SOCK_RAW, 0)");
/freebsd-11-stable/tools/regression/sockets/fstat/
H A Dfstat.c65 dotest(PF_INET6, SOCK_DGRAM, 0);
66 dotest(PF_INET6, SOCK_STREAM, 0);
/freebsd-11-stable/usr.sbin/ppp/
H A Dprobe.c61 if ((s = ID0socket(PF_INET6, SOCK_DGRAM, 0)) == -1)
/freebsd-11-stable/sbin/setkey/
H A Dtest-policy.c89 test(buf, PF_INET6);
105 case PF_INET6:
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c158 a->ai_family = PF_INET6;
209 if (family == PF_INET6 || family == PF_UNSPEC) {
286 if (family == PF_INET6 || family == PF_UNSPEC) {
289 if (inet_pton (PF_INET6, nodename, &v6_addr) == 1) {
329 if (family == PF_INET6 || family == PF_UNSPEC) {
332 he = getipnodebyname (nodename, PF_INET6, 0, &error);
388 && hints->ai_family != PF_INET6
/freebsd-11-stable/tools/test/netfibs/
H A Dreflect.c163 if (inet_ntop(PF_INET6, &from, buf, sizeof(buf)) == NULL)
181 if (inet_ntop(PF_INET6, &from.sin6_addr, buf,
231 rc = inet_pton(PF_INET6, addr, &sin6.sin6_addr);
290 return (reflect_6(PF_INET6, SOCK_STREAM));
297 return (reflect_6(PF_INET6, SOCK_DGRAM));
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dnet.c108 ipv6_result = try_proto(PF_INET6);
158 s = socket(PF_INET6, SOCK_STREAM, 0);
182 s = socket(PF_INET6, SOCK_DGRAM, 0);
232 s = socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dgethost.c64 hints.ai_family = PF_INET6;
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dnet.c158 if (domain == PF_INET6) {
210 ipv6_result = try_proto(PF_INET6);
263 s = socket(PF_INET6, SOCK_STREAM, 0);
286 s = socket(PF_INET6, SOCK_DGRAM, 0);
335 s = socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP);
/freebsd-11-stable/contrib/ntp/lib/isc/unix/include/isc/
H A Dnet.h172 #ifndef PF_INET6
174 #define PF_INET6 AF_INET6 macro
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_rfc2553.h105 # define PF_INET6 AF_INET6 macro
/freebsd-11-stable/tools/regression/netinet6/icmp6_filter/
H A Dicmp6_filter.c62 s = socket(PF_INET6, SOCK_RAW, 0);
64 err(-1, "socket(PF_INET6, SOCK_RAW, 0)");
/freebsd-11-stable/usr.bin/systat/
H A Dip6.c244 name[1] = PF_INET6;
272 name[1] = PF_INET6;
292 name[1] = PF_INET6;
H A Dicmp6.c223 name[1] = PF_INET6;
251 name[1] = PF_INET6;
270 name[1] = PF_INET6;
/freebsd-11-stable/usr.sbin/rtsold/
H A Dif.c338 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, 0 };
353 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, 0 };
377 if ((s = socket(PF_INET6, SOCK_DGRAM, 0)) < 0) {
H A Dprobe.c108 mib[1] = PF_INET6;
/freebsd-11-stable/tools/regression/netinet/udpzerobyte/
H A Dudpzerobyte.c133 test(PF_INET6, "PF_INET6", (struct sockaddr *)&sin6, sizeof(sin6));
/freebsd-11-stable/tests/sys/netinet/
H A Dudp_dontroute.c88 s = socket(PF_INET6, SOCK_DGRAM, 0);
/freebsd-11-stable/lib/libipsec/
H A Dtest-policy.c139 || test1sub2(buf, PF_INET6) != 0) {
166 case PF_INET6:
/freebsd-11-stable/sys/netinet6/
H A Dsend.c328 error = pf_proto_register(PF_INET6, &send_protosw);
355 error = pf_proto_unregister(PF_INET6, IPPROTO_SEND, SOCK_RAW);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c149 ai.ai_family = PF_INET6;
/freebsd-11-stable/contrib/blacklist/test/
H A Dsrvtest.c107 sfd = socket(af == AF_INET ? PF_INET : PF_INET6, type, 0);
/freebsd-11-stable/contrib/openbsm/libbsm/
H A Dbsm_domain.c180 { BSM_PF_INET6, PF_INET6 },
/freebsd-11-stable/tools/regression/sockets/so_setfib/
H A Dso_setfib.c65 { .domain = PF_INET6, .name = "PF_INET6" },

Completed in 174 milliseconds

1234