Home
last modified time | relevance | path

Searched refs:_S6_un (Results 1 – 25 of 28) sorted by relevance

12

/titanic_50/usr/src/uts/common/netinet/
H A Din.h126 } _S6_un; member
128 #define s6_addr _S6_un._S6_u8
131 #define s6_addr8 _S6_un._S6_u8
132 #define s6_addr32 _S6_un._S6_u32
513 (((addr)->_S6_un._S6_u32[3] == 0) && \
514 ((addr)->_S6_un._S6_u32[2] == 0) && \
515 ((addr)->_S6_un._S6_u32[1] == 0) && \
516 ((addr)->_S6_un._S6_u32[0] == 0))
520 (((addr)->_S6_un._S6_u32[3] == 0x00000001) && \
521 ((addr)->_S6_un._S6_u32[2] == 0) && \
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntop.d75 ip6a->_S6_un._S6_u8[0] = 0xfe;
76 ip6a->_S6_un._S6_u8[1] = 0x80;
77 ip6a->_S6_un._S6_u8[8] = 0x02;
78 ip6a->_S6_un._S6_u8[9] = 0x14;
79 ip6a->_S6_un._S6_u8[10] = 0x4f;
80 ip6a->_S6_un._S6_u8[11] = 0xff;
81 ip6a->_S6_un._S6_u8[12] = 0xfe;
82 ip6a->_S6_un._S6_u8[13] = 0x0b;
83 ip6a->_S6_un._S6_u8[14] = 0x76;
84 ip6a->_S6_un._S6_u8[15] = 0xc8;
[all …]
H A Dtst.inet_ntoa6.d56 ip6a->_S6_un._S6_u8[0] = 0xfe;
57 ip6a->_S6_un._S6_u8[1] = 0x80;
58 ip6a->_S6_un._S6_u8[8] = 0x02;
59 ip6a->_S6_un._S6_u8[9] = 0x14;
60 ip6a->_S6_un._S6_u8[10] = 0x4f;
61 ip6a->_S6_un._S6_u8[11] = 0xff;
62 ip6a->_S6_un._S6_u8[12] = 0xfe;
63 ip6a->_S6_un._S6_u8[13] = 0x0b;
64 ip6a->_S6_un._S6_u8[14] = 0x76;
65 ip6a->_S6_un._S6_u8[15] = 0xc8;
[all …]
/titanic_50/usr/src/lib/libilb/common/
H A Dlibilb_impl.h60 (((uint64_t)ntohl((addr)->_S6_un._S6_u32[0]) << 32) + \
61 (ntohl((addr)->_S6_un._S6_u32[1])))
64 (((uint64_t)ntohl((addr)->_S6_un._S6_u32[2]) << 32) + \
65 (ntohl((addr)->_S6_un._S6_u32[3])))
71 (addr)->_S6_un._S6_u32[0] = htonl((msb) >> 32); \
72 (addr)->_S6_un._S6_u32[1] = htonl((msb) & 0xffffffff)
75 (addr)->_S6_un._S6_u32[2] = htonl((lsb) >> 32); \
76 (addr)->_S6_un._S6_u32[3] = htonl((lsb) & 0xffffffff)
/titanic_50/usr/src/uts/common/inet/
H A Dip6.h167 (((addr)->_S6_un._S6_u32[2] == 0x0000ffff) && \
168 (CLASSD((addr)->_S6_un._S6_u32[3])) && \
169 ((addr)->_S6_un._S6_u32[1] == 0) && \
170 ((addr)->_S6_un._S6_u32[0] == 0))
173 (((addr)->_S6_un._S6_u32[2] == 0xffff0000U) && \
174 (CLASSD((addr)->_S6_un._S6_u32[3])) && \
175 ((addr)->_S6_un._S6_u32[1] == 0) && \
176 ((addr)->_S6_un._S6_u32[0] == 0))
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Deui64.h42 #define s6_addr8 _S6_un._S6_u8
43 #define s6_addr32 _S6_un._S6_u32
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c427 if (v6mask->_S6_un._S6_u32[3] == 0xffffffff) /* check for all ones */ in ip_mask_to_plen_v6()
433 if (v6mask->_S6_un._S6_u32[i] == 0xffffffff) { in ip_mask_to_plen_v6()
444 mask = ntohl(v6mask->_S6_un._S6_u32[i]); in ip_mask_to_plen_v6()
/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h40 #define V4_PART_OF_V6(v6) ((v6)._S6_un._S6_u32[3])
H A Dlibdlflow.c256 fd_local_addr._S6_un._S6_u32[3]; in i_dladm_flow_fput_grp()
283 fd_remote_addr._S6_un._S6_u32[3]; in i_dladm_flow_fput_grp()
881 if (mask->_S6_un._S6_u32[i] == 0) { in dladm_mask2prefixlen()
885 bits = ffs(ntohl(mask->_S6_un._S6_u32[i])) - 1; in dladm_mask2prefixlen()
H A Dflowattr.c367 ipaddr.s_addr = fdesc.fd_local_addr._S6_un._S6_u32[3]; in dladm_flow_attr_ip2str()
381 ipaddr.s_addr = fdesc.fd_remote_addr._S6_un._S6_u32[3]; in dladm_flow_attr_ip2str()
/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.h52 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3]
H A Dbound.c1073 lif->lif_v6mask._S6_un._S6_u32[3] = inaddr.s_addr; in configure_v4_lease()
1126 inaddr.s_addr |= ~lif->lif_v6mask._S6_un._S6_u32[3]; in configure_v4_lease()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h36 #define S6_addr32 _S6_un._S6_u32
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.h77 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3]
H A Dipqosconf.c3938 addr->_S6_un._S6_u32[i] = (uint32_t)~0; in setmask()
3939 addr->_S6_un._S6_u32[i] = in setmask()
3940 addr->_S6_un._S6_u32[i] >> shift; in setmask()
3941 addr->_S6_un._S6_u32[i] = in setmask()
3942 addr->_S6_un._S6_u32[i] << shift; in setmask()
3946 addr->_S6_un._S6_u32[i] = htonl(addr->_S6_un._S6_u32[i]); in setmask()
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h34 #define S6_addr32 _S6_un._S6_u32
/titanic_50/usr/src/lib/print/libhttp-core/common/
H A Dhttp.h85 # define s6_addr32 _S6_un._S6_u32
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c731 mask._S6_un._S6_u32[3] = 0; in tmptoken_isvalid()
735 mask._S6_un._S6_u32[3] = token->_S6_un._S6_u32[3] & 0xffffff80; in tmptoken_isvalid()
763 uint32_t *tokenp = &(token._S6_un._S6_u32[2]); in tmptoken_create()
H A Dmain.c2558 pi->pi_token._S6_un._S6_u32[0] = 0; in phyint_check_ipadm_intfid()
2559 pi->pi_token._S6_un._S6_u32[1] = 0; in phyint_check_ipadm_intfid()
/titanic_50/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c1832 if (a1->_S6_un._S6_u32[i] != a2->_S6_un._S6_u32[i]) in ip_addr_commonbits_v6()
1845 diff = ntohl(a1->_S6_un._S6_u32[i] ^ a2->_S6_un._S6_u32[i]); in ip_addr_commonbits_v6()
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c360 if (exclude_ipv6(exclude_addrs, al6[i].addr.addr6._S6_un.\ in ip_anon_register()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c742 audit[0] = address._S6_un._S6_u32[3]; in cvt_addr()
745 (void) memcpy(audit, address._S6_un._S6_u32, in cvt_addr()
/titanic_50/usr/src/cmd/tsol/tnd/
H A Dtnd.c124 #define s6_addr8 _S6_un._S6_u8
125 #define s6_addr32 _S6_un._S6_u32
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c98 #define V4MASK_TO_V6(v4, v6) ((v6)._S6_un._S6_u32[0] = 0xfffffffful, \
99 (v6)._S6_un._S6_u32[1] = 0xfffffffful, \
100 (v6)._S6_un._S6_u32[2] = 0xfffffffful, \
101 (v6)._S6_un._S6_u32[3] = (v4))
103 #define IN6_IS_V4MASK(v6) ((v6)._S6_un._S6_u32[0] == 0xfffffffful && \
104 (v6)._S6_un._S6_u32[1] == 0xfffffffful && \
105 (v6)._S6_un._S6_u32[2] == 0xfffffffful)
/titanic_50/usr/src/uts/common/dtrace/
H A Ddtrace.c5447 if (ip6._S6_un._S6_u8[i] == 0 && in dtrace_dif_subr()
5454 (ip6._S6_un._S6_u8[i] != 0 || in dtrace_dif_subr()
5466 if (ip6._S6_un._S6_u8[i] == 0 && in dtrace_dif_subr()
5483 val = ip6._S6_un._S6_u8[i]; in dtrace_dif_subr()
5524 val = (ip6._S6_un._S6_u8[i] << 8) + in dtrace_dif_subr()
5525 ip6._S6_un._S6_u8[i + 1]; in dtrace_dif_subr()

12