Searched refs:AF_INET6 (Results 1 - 25 of 643) sorted by relevance

1234567891011>>

/freebsd-head/contrib/ipfilter/lib/
H A Dfamilyname.c8 if (family == AF_INET6)
H A Dftov.c8 if (version == AF_INET6)
H A Dvtof.c9 return AF_INET6;
H A Dprint_toif.c27 if (family == AF_INET6) {
31 inet_ntop(AF_INET6, &fdp->fd_ip6, ipv6addr,
H A Dprintip.c29 else if (family == AF_INET6) {
34 str = inet_ntop(AF_INET6, addr, buf, sizeof(buf) - 1);
H A Dgeticmptype.c21 if (family == AF_INET6)
H A Dicmptypename.c22 if ((family == AF_INET6) && (i->it_v6 == type))
H A Dntomask.c37 case AF_INET6 :
H A Dprintactiveaddr.c30 printaddr(AF_INET6, FRI_NORMAL, ifname, 0,
H A Dprintmask.c22 if (family == AF_INET6) {
/freebsd-head/contrib/ntp/sntp/libevent/
H A Dipv6-internal.h72 #ifndef AF_INET6
73 #define AF_INET6 3333 macro
76 #define PF_INET6 AF_INET6
/freebsd-head/contrib/libevent/
H A Dipv6-internal.h72 #ifndef AF_INET6
73 #define AF_INET6 3333 macro
76 #define PF_INET6 AF_INET6
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Derr.inet_ntoa6badaddr.d37 printf("%s\n", inet_ntop(AF_INET6, ip6a));
/freebsd-head/contrib/wpa/src/utils/
H A Dip_addr.c26 if (addr->af == AF_INET6) {
27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
45 if (inet_pton(AF_INET6, txt, &addr->u.v6) > 0) {
46 addr->af = AF_INET6;
/freebsd-head/contrib/ipfilter/
H A Dgenmask.c27 case AF_INET6 :
28 if (inet_pton(AF_INET6, msk, &mskp->in4) != 1)
48 case AF_INET6 :
/freebsd-head/crypto/heimdal/lib/roken/
H A Dinet_pton.c69 case AF_INET6:
75 si6.sin6_family = AF_INET6;
76 r = WSAStringToAddress(src, AF_INET6, NULL, (LPSOCKADDR) &si6, &s);
H A Dsocket.c57 case AF_INET6 : {
61 sin6->sin6_family = AF_INET6;
91 case AF_INET6 : {
95 sin6->sin6_family = AF_INET6;
118 case AF_INET6 :
137 case AF_INET6 :
158 case AF_INET6 : {
181 case AF_INET6 : {
205 case AF_INET6 : {
230 if (af == AF_INET6) {
[all...]
/freebsd-head/contrib/ntp/libntp/
H A Dis_ip_address.c62 if (AF_UNSPEC == af || AF_INET6 == af)
73 hints.ai_family = AF_INET6;
76 AF(addr) = AF_INET6;
/freebsd-head/contrib/tcpdump/
H A Dprint-pflog.c159 #if defined(AF_INET6) || defined(OPENBSD_AF_INET6)
160 #ifdef AF_INET6
161 case AF_INET6:
162 #endif /* AF_INET6 */
163 #if !defined(AF_INET6) || OPENBSD_AF_INET6 != AF_INET6
165 #endif /* !defined(AF_INET6) || OPENBSD_AF_INET6 != AF_INET6 */
168 #endif /* defined(AF_INET6) || defined(OPENBSD_AF_INET6) */
/freebsd-head/lib/libcasper/services/cap_dns/tests/
H A Ddns_test.c247 hps = gethostbyname2("example.com", AF_INET6);
250 hpc = cap_gethostbyname2(capdns, "example.com", AF_INET6);
290 hints.ai_family = AF_INET6;
315 inet_pton(AF_INET6, GOOGLE_DNS_IPV6, &ip6);
316 hps = gethostbyaddr(&ip6, sizeof(ip6), AF_INET6);
320 hpc = cap_gethostbyaddr(capdns, &ip6, sizeof(ip6), AF_INET6);
354 * family: AF_INET, AF_INET6
364 families[1] = AF_INET6;
377 * family: AF_INET, AF_INET6
392 families[1] = AF_INET6;
[all...]
/freebsd-head/tools/regression/priv/
H A Dpriv_netinet_ipsec.c73 case AF_INET6:
74 sd = socket(AF_INET6, SOCK_DGRAM, 0);
104 AF_INET6));
128 case AF_INET6:
129 sd = socket(AF_INET6, SOCK_DGRAM, 0);
159 AF_INET6));
206 case AF_INET6:
243 priv_netinet_ipsec_policy_bypass_af(asroot, injail, test, AF_INET6);
259 case AF_INET6:
296 priv_netinet_ipsec_policy_entrust_af(asroot, injail, test, AF_INET6);
[all...]
/freebsd-head/contrib/llvm-project/lldb/source/Host/common/
H A DSocketAddress.cpp54 case AF_INET6: {
108 case AF_INET6:
144 case AF_INET6:
157 case AF_INET6:
169 case AF_INET6:
263 case AF_INET6:
264 SetFamily(AF_INET6);
285 case AF_INET6:
286 SetFamily(AF_INET6);
319 case AF_INET6
[all...]
/freebsd-head/usr.sbin/ppp/
H A Dncpaddr.c204 case AF_INET6:
225 case AF_INET6:
246 case AF_INET6:
247 addr->ncpaddr_family = AF_INET6;
292 addr->ncpaddr_family = AF_INET6;
299 if (addr->ncpaddr_family != AF_INET6)
324 case AF_INET6:
325 host6->sin6_family = AF_INET6;
352 case AF_INET6:
358 addr->ncpaddr_family = AF_INET6;
[all...]
/freebsd-head/contrib/sendmail/libmilter/
H A Dsm_gethost.c55 if (family == AF_INET6)
63 if (family == AF_INET6 && !resv6)
171 if (family == AF_INET6 &&
/freebsd-head/contrib/ntp/include/
H A Dntp_rfc2553.h103 #ifndef AF_INET6
104 # define AF_INET6 AF_MAX macro
105 # define PF_INET6 AF_INET6

Completed in 276 milliseconds

1234567891011>>