/titanic_50/usr/src/lib/libresolv2/include/ |
H A D | port_after.h | 103 u_int8_t s6_addr[16]; member 148 #ifdef s6_addr 160 #ifdef s6_addr 212 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0) 228 ((a)->s6_addr[0] == 0x00 && (a)->s6_addr[1] == 0x00 && \ 229 (a)->s6_addr[2] == 0x00 && (a)->s6_addr[3] == 0x00 && \ 230 (a)->s6_addr[4] == 0x00 && (a)->s6_addr[5] == 0x00 && \ 231 (a)->s6_addr[6] == 0x00 && (a)->s6_addr[9] == 0x00 && \ 232 (a)->s6_addr[8] == 0x00 && (a)->s6_addr[9] == 0x00 && \ 233 (a)->s6_addr[10] == 0xff && (a)->s6_addr[11] == 0xff) [all …]
|
/titanic_50/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 206 for (i = 0; i < sizeof (laddr->in6.s6_addr); i++) { in addrequal() 207 if ((caddr->in6.s6_addr[i] & mask->in6.s6_addr[i]) != in addrequal() 208 laddr->in6.s6_addr[i]) in addrequal()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 133 (void) memset(&rt_msg.rt_dst.sin6_addr.s6_addr, 0, in modifyroute() 138 bcopy(in_gw->s6_addr, &rt_msg.rt_gate.sin6_addr.s6_addr, in modifyroute() 143 (void) memset(&rt_msg.rt_mask.sin6_addr.s6_addr, 0, in modifyroute()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 133 val ^= dst->s6_addr[i]; in rthash() 149 prefix->s6_addr[i] = 0xff; in rtmask_to_bits() 152 prefix->s6_addr[i] = mask; in rtmask_to_bits() 162 dst->s6_addr[j] = p1->s6_addr[j]; in rtcreate_prefix() 166 dst->s6_addr[j] = p1->s6_addr[j] & mask; in rtcreate_prefix() 171 dst->s6_addr[j] = 0; in rtcreate_prefix()
|
/titanic_50/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 564 addr6->s6_addr[10] = 0; in getipnodebyaddr() 565 addr6->s6_addr[11] = 0; in getipnodebyaddr() 875 bzero(addr6p->s6_addr, sizeof (struct in6_addr)); in __mapv4tov6() 877 addr6p->s6_addr[10] = 0xff; in __mapv4tov6() 878 addr6p->s6_addr[11] = 0xff; in __mapv4tov6() 881 &addr6p->s6_addr[12], sizeof (struct in_addr)); in __mapv4tov6() 977 bzero(addr6p->s6_addr, sizeof (struct in6_addr)); in __mapv4tov6() 978 addr6p->s6_addr[10] = 0xff; in __mapv4tov6() 979 addr6p->s6_addr[11] = 0xff; in __mapv4tov6() 980 bcopy(he4->h_addr_list[i], &addr6p->s6_addr[12], in __mapv4tov6()
|
H A D | netdir_inet_sundry.c | 148 if (inet_ntop(AF_INET6, sa6->sin6_addr.s6_addr, tmp, in __inet_taddr2uaddr() 276 if (inet_pton(AF_INET6, tmpaddr, sa->sin6_addr.s6_addr) == 0) { in ipv6_uaddr2taddr() 700 (void) memset(src_addr->addr6.s6_addr, in select_server_addr() 852 if (inet_pton(af, truaddr, sa.sin6_addr.s6_addr) in inet_netdir_mergeaddr() 872 if (inet_ntop(af, server_addr.sin6_addr.s6_addr, tmp, in inet_netdir_mergeaddr()
|
H A D | netdir_inet.c | 261 (void) memcpy(&(sa6_con.sin6_addr.s6_addr), in _get_hostserv_inetnetdir_byname() 2747 for (a = 0; a < sizeof (a6->s6_addr); a++) { in __inet_address_is_local_af() 2748 if ((a6->s6_addr[a] & in __inet_address_is_local_af() 2749 ifmask6(i).s6_addr[a]) != in __inet_address_is_local_af() 2750 (ifaddr6(i).s6_addr[a] & in __inet_address_is_local_af() 2751 ifmask6(i).s6_addr[a])) in __inet_address_is_local_af() 2754 if (a >= sizeof (a6->s6_addr)) in __inet_address_is_local_af() 2883 for (i = 0; i < sizeof (in6.s6_addr); i++) { in __inet_get_networka() 2884 in6.s6_addr[i] = ifaddr6(n).s6_addr[i] & in __inet_get_networka() 2885 ifmask6(n).s6_addr[i]; in __inet_get_networka()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 299 pi->pi_dst_token.s6_addr[0] = 0; in phyint_init_from_k() 300 pi->pi_dst_token.s6_addr[1] &= 0x3f; in phyint_init_from_k() 727 if (token->s6_addr[8] & 0x2) in tmptoken_isvalid() 783 token.s6_addr[8] &= 0xfd; in tmptoken_create() 973 if (t1.s6_addr[j] != t2.s6_addr[j]) in token_equal() 981 if ((t1.s6_addr[j] & mask) != (t2.s6_addr[j] & mask)) in token_equal() 1028 if (p1.s6_addr[j] != p2.s6_addr[j]) in prefix_equal() 1036 if ((p1.s6_addr[j] & mask) != (p2.s6_addr[j] & mask)) in prefix_equal() 1058 prefix->s6_addr[j] = addr.s6_addr[j]; in prefix_set() 1062 prefix->s6_addr[j] = addr.s6_addr[j] & mask; in prefix_set() [all …]
|
/titanic_50/usr/src/lib/libipadm/common/ |
H A D | ipadm_ndpd.c | 236 sin6->sin6_addr.s6_addr[i] = in i_ipadm_make_linklocal() 237 sin6->sin6_addr.s6_addr[i] | ll_template.s6_addr[i]; in i_ipadm_make_linklocal()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsiAuthClientGlue.c | 98 bcopy(p_radius_cfg.r_addr.u_in6.s6_addr, in iscsiAuthClientChapAuthRequest() 99 radius_cfg.rad_svr_addr.i_addr.in6.s6_addr, in iscsiAuthClientChapAuthRequest()
|
H A D | iscsi_net.c | 943 bcopy(&iscsiboot_prop->boot_nic.nic_ip_u.u_in6.s6_addr, in iscsi_net_interface() 944 &myaddr6.s6_addr, 16); in iscsi_net_interface() 949 (uchar_t *)&subnet6.s6_addr); in iscsi_net_interface()
|
H A D | iscsid.c | 190 &boot_prop_entry->boot_tgt.tgt_ip_u.u_in6.s6_addr, in iscsid_make_entry() 191 entry->e_u.u_in6.s6_addr, 16); in iscsid_make_entry() 674 bcopy(&(isns_server->e_u.u_in6.s6_addr), in iscsid_do_isns_query_one_server() 675 ap->a_addr.i_addr.in6.s6_addr, 16); in iscsid_do_isns_query_one_server() 2112 bcopy(src_addr, &addr_in6->sin6_addr.s6_addr, in iscsid_addr_to_sockaddr() 2350 bcopy(&iscsiboot_prop->boot_tgt.tgt_ip_u.u_in6.s6_addr, in iscsi_add_boot_sess() 2351 &addr_dst.sin6.sin6_addr.s6_addr, in iscsi_add_boot_sess()
|
/titanic_50/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_authclient.c | 197 bcopy(sin6->sin6_addr.s6_addr, in iscsit_verify_chap_resp() 198 radius_cfg.rad_svr_addr.i_addr.in6.s6_addr, in iscsit_verify_chap_resp()
|
H A D | iscsit_radiuspacket.c | 148 bcopy(rsvr_ip_addr.i_addr.in6.s6_addr, in iscsit_snd_radius_request() 149 sa_rsvr.s_in6.sin6_addr.s6_addr, sizeof (struct in6_addr)); in iscsit_snd_radius_request()
|
/titanic_50/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 238 #define IN6_IS_ADDR_V4COMPAT(x) (!memcmp((x)->s6_addr, in6addr_compat, 12) && \ 239 ((x)->s6_addr[12] != 0 || \ 240 (x)->s6_addr[13] != 0 || \ 241 (x)->s6_addr[14] != 0 || \ 242 ((x)->s6_addr[15] != 0 && \ 243 (x)->s6_addr[15] != 1))) 246 #define IN6_IS_ADDR_V4MAPPED(x) (!memcmp((x)->s6_addr, in6addr_mapped, 12))
|
/titanic_50/usr/src/cmd/ssh/include/ |
H A D | fake-socket.h | 34 u_int8_t s6_addr[16]; member
|
/titanic_50/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 76 i = ntohl(a->s6_addr[2]); in incr_addr() 82 i = ntohl(a->s6_addr[1]); in incr_addr() 88 i = ntohl(a->s6_addr[0]); in incr_addr() 89 a->s6_addr[0] = htonl(++i); in incr_addr()
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | canohost.c | 63 from6->sin6_addr.s6_addr, in get_remote_hostname() 205 addr6->sin6_addr.s6_addr, abuf, sizeof (abuf)); in get_socket_address()
|
/titanic_50/usr/src/cmd/krb5/krb5kdc/ |
H A D | sock2p.c | 57 &((const struct in6_addr *)address)->s6_addr; in inet_ntop()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 743 inet_ntop(AF_INET6, mldg->mld_addr.s6_addr, 759 mldg->mld_addr.s6_addr, addrstr, INET6_ADDRSTRLEN)); 925 &qry->mld2q_addr.s6_addr, addrstr, INET6_ADDRSTRLEN)); in interpret_mldv2qry() 979 &mar->mld2mar_group.s6_addr, addrstr, INET6_ADDRSTRLEN), in interpret_mldv2rpt()
|
/titanic_50/usr/src/lib/nsswitch/nis/common/ |
H A D | gethostent6.c | 98 if (inet_ntop(AF_INET, (void *) &addr.s6_addr[12],
|
/titanic_50/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 85 (void) memcpy(&addr6p->s6_addr[12], fstr, 87 addr6p->s6_addr[10] = 0xffU; 88 addr6p->s6_addr[11] = 0xffU;
|
/titanic_50/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 411 &addr->s6_addr, str, INET6_ADDRSTRLEN)); in disp_obj() 413 disp_host((char *)&addr->s6_addr, in disp_obj()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ippool_y.y | 351 fill6bits(128, (u_32_t *)$$[1].in6.s6_addr); 368 ntomask(6, $1, (u_32_t *)$$.in6.s6_addr);
|
/titanic_50/usr/src/cmd/iscsiadm/ |
H A D | sun_ima.c | 407 bcopy(target_in.u_in6.s6_addr, in SUN_IMA_AddStaticTarget() 408 target.te_entry.e_u.u_in6.s6_addr, in SUN_IMA_AddStaticTarget() 631 (void) memcpy(radius.r_addr.u_in6.s6_addr, in SUN_IMA_SetInitiatorRadiusConfig() 632 radius_in.u_in6.s6_addr, 16); in SUN_IMA_SetInitiatorRadiusConfig() 1899 ipAddress, entry->e_u.u_in6.s6_addr, in prepare_discovery_entry_IMA() 1900 sizeof (entry->e_u.u_in6.s6_addr)); in prepare_discovery_entry_IMA() 2556 if (bcmp(entry.e_u.u_in6.s6_addr, in SUN_IMA_RemoveDiscoveryAddress() 2557 idlp->al_addrs[i].a_addr.i_addr.in6.s6_addr, in SUN_IMA_RemoveDiscoveryAddress() 2875 bcopy(&entry.e_u.u_in6.s6_addr, in SUN_IMA_RetrieveISNSServerTargets() 2876 server_pg_list->addr.a_addr.i_addr.in6.s6_addr, 16); in SUN_IMA_RetrieveISNSServerTargets()
|