/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 320 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 D | http-addr.c | 55 #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 D | ip6_rts.c | 102 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 D | ypserv_net_secure.c | 151 } 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 D | tst.inet_ntop.d | 125 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 D | addrmatch.c | 57 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 D | snoop_ipaddr.c | 154 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 D | netaddrs.c | 65 #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 D | smb_inet.c | 61 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 D | tcpd.h | 54 #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 D | misc.c | 111 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 D | tables.c | 187 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 D | ndp.c | 128 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 D | selfcheck.c | 54 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 D | gethostent.c | 135 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 D | kcmd.h | 70 #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 D | nfslog_ipaddr.c | 158 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 D | ilbadm_nat.c | 73 (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 D | dogetipnodes.c | 56 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 D | getipnodeby.c | 129 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 D | gethostent.c | 80 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 D | ifparse.c | 96 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 D | fds.c | 102 #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 D | dns_common.c | 154 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 D | dat_platform_specific.h | 133 #define DAT_AF_INET6 AF_INET6 164 #define DAT_AF_INET6 AF_INET6 189 #define DAT_AF_INET6 AF_INET6
|