Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c320 pr_name((char *)&from6->sin6_addr, AF_INET6)); in check_reply6()
327 pr_name((char *)&from6->sin6_addr, AF_INET6)); in check_reply6()
344 AF_INET6)); in check_reply6()
365 AF_INET6)); in check_reply6()
448 (void) inet_ntop(AF_INET6, in check_reply6()
484 pr_name((char *)&from6->sin6_addr, AF_INET6)); in check_reply6()
492 AF_INET6)); in check_reply6()
497 AF_INET6)); in check_reply6()
500 pr_name((char *)&ip6h->ip6_src, AF_INET6)); in check_reply6()
502 AF_INET6)); in check_reply6()
[all …]
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c55 #ifdef AF_INET6 in httpAddrAny()
56 if (addr->addr.sa_family == AF_INET6 && in httpAddrAny()
80 #ifdef AF_INET6 in httpAddrEqual()
81 if (addr1->addr.sa_family == AF_INET6) in httpAddrEqual()
99 #ifdef AF_INET6 in httpAddrLoad()
100 if (host->h_addrtype == AF_INET6) in httpAddrLoad()
110 addr->ipv6.sin6_family = AF_INET6; in httpAddrLoad()
145 #ifdef AF_INET6 in httpAddrLocalhost()
146 if (addr->addr.sa_family == AF_INET6 && in httpAddrLocalhost()
186 #ifdef AF_INET6 in httpAddrLookup()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip6_rts.c102 data_size = rts_data_msg_size(rtm_addrs, AF_INET6, gc != NULL ? 1 : 0); in rts_fill_msg_v6()
113 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
118 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
123 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
128 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
133 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
141 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
150 sin6->sin6_family = AF_INET6; in rts_fill_msg_v6()
206 mp = rts_alloc_msg(type, rtm_addrs, AF_INET6, 0); in ip_rts_change_v6()
216 rts_queue_input(mp, NULL, AF_INET6, RTSQ_ALL, ipst); in ip_rts_change_v6()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c151 } else if (af == AF_INET6) { in check_secure_net_ti()
167 (af == AF_INET6) ? (void *)&addr.in6 : in check_secure_net_ti()
179 stringaf = (strchr(string, ':') != 0) ? AF_INET6 : AF_INET; in string2inaddr()
185 } else if (*af == AF_INET6) { in string2inaddr()
187 stringaf = AF_INET6; in string2inaddr()
192 if (inet_pton(*af, string, (*af == AF_INET6) ? (void *)&addr->in6 : in string2inaddr()
204 if (af == AF_INET6) { in addrequal()
227 string, (af == AF_INET6)?"AF_INET6":"AF_INET", in print_inaddr()
228 inet_ntop(af, (af == AF_INET6) ? (void *)&addr->in6 : in print_inaddr()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntop.d125 printf("%s\n", inet_ntop(AF_INET6, ip6a));
126 printf("%s\n", inet_ntop(AF_INET6, ip6b));
127 printf("%s\n", inet_ntop(AF_INET6, ip6c));
128 printf("%s\n", inet_ntop(AF_INET6, ip6d));
129 printf("%s\n", inet_ntop(AF_INET6, ip6e));
130 printf("%s\n", inet_ntop(AF_INET6, ip6f));
131 printf("%s\n", inet_ntop(AF_INET6, ip6g));
132 printf("%s\n", inet_ntop(AF_INET6, ip6h));
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Daddrmatch.c57 case AF_INET6: in addr_unicast_masklen()
70 case AF_INET6: in masklen_valid()
98 case AF_INET6: in addr_sa_to_xaddr()
101 xa->af = AF_INET6; in addr_sa_to_xaddr()
133 case AF_INET6: in addr_netmask()
134 n->af = AF_INET6; in addr_netmask()
163 case AF_INET6: in addr_and()
183 return a->af == AF_INET6 ? 1 : -1; in addr_cmp()
190 case AF_INET6: in addr_cmp()
246 case AF_INET6: in addr_invert()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c154 return (addhost(AF_INET6, ip6addr, "UNSPECIFIED", NULL)); in ip6lookup()
164 AF_INET6, &error_num); in ip6lookup()
173 (void) inet_ntop(AF_INET6, ip6addr, addrstr, INET6_ADDRSTRLEN); in ip6lookup()
177 retval = addhost(AF_INET6, ip6addr, addname, hp ? hp->h_aliases : NULL); in ip6lookup()
210 case AF_INET6: in addhost()
249 } else if (family == AF_INET6) { in addhost()
250 np = (char *)inet_ntop(AF_INET6, (void *)ipaddr, aname, in addhost()
288 case AF_INET6: in addrtoname()
320 if (inet_pton(AF_INET6, addr, (void *)&addrv6) == 1) {
321 family = AF_INET6;
[all …]
/titanic_41/usr/src/lib/librdc/common/
H A Dnetaddrs.c65 #ifdef AF_INET6 in Is_ipv6present()
69 sock = socket(AF_INET6, SOCK_DGRAM, 0); in Is_ipv6present()
73 lifn.lifn_family = AF_INET6; in Is_ipv6present()
102 #ifdef AF_INET6 in getmyaddrs()
103 family = AF_INET6; in getmyaddrs()
244 #ifdef AF_INET6 in gethost_byname()
245 return (getipnodebyname(name, AF_INET6, AI_DEFAULT, &errnum)); in gethost_byname()
259 #ifdef AF_INET6 in gethost_netaddrs()
260 host = getipnodebyname(fromhost, AF_INET6, AI_DEFAULT, &errnum); in gethost_netaddrs()
292 #ifdef AF_INET6 in gethost_netaddrs()
[all …]
/titanic_41/usr/src/common/smbsrv/
H A Dsmb_inet.c61 if ((ip1->a_family == AF_INET6) && in smb_inet_equal()
62 (ip2->a_family == AF_INET6) && in smb_inet_equal()
77 if ((ip1->a_family == AF_INET6) && in smb_inet_same_subnet()
78 (ip2->a_family == AF_INET6) && in smb_inet_same_subnet()
94 if ((ipaddr->a_family == AF_INET6) && in smb_inet_iszero()
/titanic_41/usr/src/lib/libwrap/
H A Dtcpd.h54 #define SGADDRSZ(sag) ((sag)->sg_family == AF_INET6 ? \
57 #define SGSOCKADDRSZ(sag) ((sag)->sg_family == AF_INET6 ? \
60 #define SGPORT(sag) (*((sag)->sg_family == AF_INET6 ? \
63 #define SGADDRP(sag) (((sag)->sg_family == AF_INET6 ? \
66 #define SGFAM(sag) ((sag)->sg_family == AF_INET6 ? \
67 AF_INET6 : AF_INET)
70 ((sag)->sg_family == AF_INET6 ? \
74 #define VALID_ADDRTYPE(t) ((t) == AF_INET || (t) == AF_INET6)
H A Dmisc.c111 if (af) *af = AF_INET6;
113 if (inet_pton(AF_INET6, str, (void*) addr) == 1)
141 if (af == AF_INET6) { /* must be AF_INET6 */
144 return (hs = getipnodebyname(host, AF_INET6, 0, &err));
152 return (hs = getipnodebyname(host, AF_INET6, 0, &err));
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c187 pi->pi_sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in phyint_init_from_k()
292 if (sin6->sin6_family != AF_INET6 || in phyint_init_from_k()
584 inet_ntop(AF_INET6, (void *)&pi->pi_ifaddr, in phyint_print()
588 inet_ntop(AF_INET6, (void *)&pi->pi_token, in phyint_print()
592 inet_ntop(AF_INET6, (void *)&pi->pi_tmp_token, in phyint_print()
602 inet_ntop(AF_INET6, (void *)&pi->pi_dst_token, in phyint_print()
656 sin6->sin6_family = AF_INET6; in phyint_get_lla()
805 inet_ntop(AF_INET6, &pi->pi_tmp_token, buf, sizeof (buf))); in tmptoken_create()
895 (void) inet_ntop(AF_INET6, &pr->pr_prefix, pbuf, in tmptoken_timer()
897 (void) inet_ntop(AF_INET6, &pi->pi_tmp_token, tbuf, in tmptoken_timer()
[all …]
H A Dndp.c128 if (inet_ntop(AF_INET6, (void *)&from.sin6_addr, in in_data()
467 inet_ntop(AF_INET6, &from->sin6_addr, abuf, in incoming_ra()
600 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_opt()
611 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_opt()
708 pr->pr_name, inet_ntop(AF_INET6, (void *)&pr->pr_prefix, in incoming_prefix_onlink_process()
743 pi->pi_name, inet_ntop(AF_INET6, in incoming_prefix_stateful()
812 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_addrconf()
814 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf()
920 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf_process()
923 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf_process()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c54 family = AF_INET6; in self_check()
85 ipv6addr.sin6_family = AF_INET6; in self_check()
123 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in getmyaddrs()
179 sock = socket(AF_INET6, SOCK_DGRAM, 0); in Is_ipv6present()
183 lifn.lifn_family = AF_INET6; in Is_ipv6present()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c135 hp = gethostbyname2_p(name, AF_INET6, net_data); in gethostbyname_p()
206 hp->h_addrtype == AF_INET6 && in gethostent_p()
296 v6 = inet_pton(AF_INET6, name, &in6); in getipnodebyname()
300 if ((af == AF_INET6 && (flags & AI_V4MAPPED) == 0 && v4 == 1) || in getipnodebyname()
305 (have_v6 == 0 && af == AF_INET6)) { in getipnodebyname()
322 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6; in getipnodebyname()
330 if (have_v6 && af == AF_INET6) { in getipnodebyname()
331 he2 = gethostbyname2_p(name, AF_INET6, net_data); in getipnodebyname()
344 (af == AF_INET6 && (flags & AI_V4MAPPED) != 0 && in getipnodebyname()
386 case AF_INET6:
[all …]
/titanic_41/usr/src/cmd/cmd-inet/common/
H A Dkcmd.h70 #define SOCK_PORT(ss) ((ss).ss_family == AF_INET6 ? \
74 #define SOCK_ADDR(ss) ((ss).ss_family == AF_INET6 ? \
81 ((ss).ss_family == AF_INET6 ? \
88 ((void) ((ss).ss_family == AF_INET6 ? \
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c158 return (addhost(AF_INET6, ip6addr, "UNSPECIFIED"));
169 AF_INET6, &error_num);
178 (void) inet_ntop(AF_INET6, ip6addr, addrstr, INET6_ADDRSTRLEN);
182 retval = addhost(AF_INET6, ip6addr, addname);
211 case AF_INET6:
255 case AF_INET6: in addrtoname()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_nat.c73 (void) printf("%s.%d > ", inet_ntop(AF_INET6, in print_nat_info()
76 (void) printf("%s.%d >>> ", inet_ntop(AF_INET6, in print_nat_info()
80 (void) printf("%s.%d > ", inet_ntop(AF_INET6, in print_nat_info()
83 (void) printf("%s.%d\n", inet_ntop(AF_INET6, in print_nat_info()
105 (void) printf("%s --> ", inet_ntop(AF_INET6, in print_persist_info()
107 (void) printf("%s\n", inet_ntop(AF_INET6, in print_persist_info()
/titanic_41/usr/src/cmd/getent/
H A Ddogetipnodes.c56 if (hp->h_addrtype == AF_INET6) { in puthostent()
63 af = AF_INET6; in puthostent()
107 af = AF_INET6; in dogetipnodes()
120 AF_INET6, in dogetipnodes()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c129 else if (type == AF_INET6) in _uncached_getipnodebyaddr()
153 ipv6configured = (af == AF_INET6 && in getipnodebyname_processflags()
154 __ai_addrconfig(AF_INET6) > 0); in getipnodebyname_processflags()
164 case AF_INET6: in getipnodebyname_processflags()
320 case AF_INET6: { in getipnodebyname()
340 order_haddrlist_af(AF_INET6, hp->h_addr_list); in getipnodebyname()
357 hp = __filter_addresses(AF_INET6, buf6->result); in getipnodebyname()
449 if (type == AF_INET6) { in getipnodebyaddr()
466 if (type == AF_INET6 && IN6_IS_ADDR_UNSPECIFIED(addr6)) { in getipnodebyaddr()
473 if ((type == AF_INET6 && len == 16) && in getipnodebyaddr()
[all …]
H A Dgethostent.c80 if (type == AF_INET6) in gethostbyaddr()
121 if (af != AF_INET && af != AF_INET6) { in __str2hostent()
163 if (af == AF_INET6) { in __str2hostent()
205 if (addrlen > ((af == AF_INET6) ? INET6_ADDRSTRLEN in __str2hostent()
270 if (af == AF_INET6) { in __str2hostent()
/titanic_41/usr/src/cmd/cmd-inet/sbin/ifparse/
H A Difparse.c96 typedef enum { AF_UNSPEC, AF_INET, AF_INET6, AF_ANY } ac_t; enumerator
165 { "-nud", 0, AF_INET6, PARSENOW },
166 { "nud", 0, AF_INET6, PARSENOW },
173 { "preferred", 0, AF_INET6, 0 },
174 { "-preferred", 0, AF_INET6, 0 },
187 { "token", NEXTARG, AF_INET6, PARSELOG0 },
230 { "inet6", AF_INET6 },
/titanic_41/usr/src/lib/libcmd/common/
H A Dfds.c102 #ifdef AF_INET6
103 "INET6", AF_INET6,
281 #ifdef AF_INET6 in b_fds()
282 case AF_INET6: in b_fds()
292 #ifdef AF_INET6 in b_fds()
293 case AF_INET6: in b_fds()
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c154 if (he->h_addrtype == AF_INET && af_type == AF_INET6) {
225 if (hp->h_addrtype == AF_INET6) { in ent2str()
234 af = AF_INET6; in ent2str()
360 if (i->ifa_addr->sa_family == AF_INET6) { in _nss_has_interfaces()
518 if (family == AF_INET6 && has_v6 == B_FALSE && in _nss_dns_gethost_withttl()
523 if (family == AF_INET6 && has_v6) in _nss_dns_gethost_withttl()
525 if (family == AF_INET || (family == AF_INET6 && in _nss_dns_gethost_withttl()
530 if (family == AF_INET6) in _nss_dns_gethost_withttl()
536 if (family == AF_INET6) in _nss_dns_gethost_withttl()
576 (family == AF_INET6 && !(flags & AI_V4MAPPED))) { in _nss_dns_gethost_withttl()
[all …]
/titanic_41/usr/src/lib/udapl/libdat/include/dat/
H A Ddat_platform_specific.h133 #define DAT_AF_INET6 AF_INET6
164 #define DAT_AF_INET6 AF_INET6
189 #define DAT_AF_INET6 AF_INET6

12345678910>>...20