/illumos-gate/usr/src/uts/common/netinet/ |
H A D | in.h | 128 } _S6_un; member 130 #define s6_addr _S6_un._S6_u8 133 #define s6_addr8 _S6_un._S6_u8 134 #define s6_addr16 _S6_un._S6_u16 135 #define s6_addr32 _S6_un._S6_u32 525 (((addr)->_S6_un._S6_u32[3] == 0) && \ 526 ((addr)->_S6_un._S6_u32[2] == 0) && \ 527 ((addr)->_S6_un._S6_u32[1] == 0) && \ 528 ((addr)->_S6_un._S6_u32[0] == 0)) 532 (((addr)->_S6_un._S6_u32[3] == 0x00000001) && \ [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.inet_ntop.d | 73 ip6a->_S6_un._S6_u8[0] = 0xfe; 74 ip6a->_S6_un._S6_u8[1] = 0x80; 75 ip6a->_S6_un._S6_u8[8] = 0x02; 76 ip6a->_S6_un._S6_u8[9] = 0x14; 77 ip6a->_S6_un._S6_u8[10] = 0x4f; 78 ip6a->_S6_un._S6_u8[11] = 0xff; 79 ip6a->_S6_un._S6_u8[12] = 0xfe; 80 ip6a->_S6_un._S6_u8[13] = 0x0b; 81 ip6a->_S6_un._S6_u8[14] = 0x76; 82 ip6a->_S6_un._S6_u8[15] = 0xc8; [all …]
|
H A D | tst.inet_ntoa6.d | 54 ip6a->_S6_un._S6_u8[0] = 0xfe; 55 ip6a->_S6_un._S6_u8[1] = 0x80; 56 ip6a->_S6_un._S6_u8[8] = 0x02; 57 ip6a->_S6_un._S6_u8[9] = 0x14; 58 ip6a->_S6_un._S6_u8[10] = 0x4f; 59 ip6a->_S6_un._S6_u8[11] = 0xff; 60 ip6a->_S6_un._S6_u8[12] = 0xfe; 61 ip6a->_S6_un._S6_u8[13] = 0x0b; 62 ip6a->_S6_un._S6_u8[14] = 0x76; 63 ip6a->_S6_un._S6_u8[15] = 0xc8; [all …]
|
/illumos-gate/usr/src/lib/libilb/common/ |
H A D | libilb_impl.h | 60 (((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)
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip6.h | 168 (((addr)->_S6_un._S6_u32[2] == 0x0000ffff) && \ 169 (CLASSD((addr)->_S6_un._S6_u32[3])) && \ 170 ((addr)->_S6_un._S6_u32[1] == 0) && \ 171 ((addr)->_S6_un._S6_u32[0] == 0)) 174 (((addr)->_S6_un._S6_u32[2] == 0xffff0000U) && \ 175 (CLASSD((addr)->_S6_un._S6_u32[3])) && \ 176 ((addr)->_S6_un._S6_u32[1] == 0) && \ 177 ((addr)->_S6_un._S6_u32[0] == 0))
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | eui64.h | 40 #define s6_addr8 _S6_un._S6_u8 41 #define s6_addr32 _S6_un._S6_u32
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ipaddrsel.c | 425 if (v6mask->_S6_un._S6_u32[3] == 0xffffffff) /* check for all ones */ in ip_mask_to_plen_v6() 431 if (v6mask->_S6_un._S6_u32[i] == 0xffffffff) { in ip_mask_to_plen_v6() 442 mask = ntohl(v6mask->_S6_un._S6_u32[i]); in ip_mask_to_plen_v6()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 256 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 D | libdladm_impl.h | 45 #define V4_PART_OF_V6(v6) ((v6)._S6_un._S6_u32[3])
|
H A D | flowattr.c | 367 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | interface.h | 52 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3]
|
H A D | bound.c | 1076 lif->lif_v6mask._S6_un._S6_u32[3] = inaddr.s_addr; in configure_v4_lease() 1129 inaddr.s_addr |= ~lif->lif_v6mask._S6_un._S6_u32[3]; in configure_v4_lease()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_flow.h | 34 #define S6_addr32 _S6_un._S6_u32
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.h | 75 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3]
|
H A D | ipqosconf.c | 3938 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()
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_flow.h | 34 #define S6_addr32 _S6_un._S6_u32
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.h | 83 # define s6_addr32 _S6_un._S6_u32
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 733 mask._S6_un._S6_u32[3] = 0; in tmptoken_isvalid() 737 mask._S6_un._S6_u32[3] = token->_S6_un._S6_u32[3] & 0xffffff80; in tmptoken_isvalid() 765 uint32_t *tokenp = &(token._S6_un._S6_u32[2]); in tmptoken_create()
|
H A D | main.c | 2570 pi->pi_token._S6_un._S6_u32[0] = 0; in phyint_check_ipadm_intfid() 2571 pi->pi_token._S6_un._S6_u32[1] = 0; in phyint_check_ipadm_intfid()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1832 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_rules.c | 742 audit[0] = address._S6_un._S6_u32[3]; in cvt_addr() 745 (void) memcpy(audit, address._S6_un._S6_u32, in cvt_addr()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_anon_rcm.c | 360 if (exclude_ipv6(exclude_addrs, al6[i].addr.addr6._S6_un.\ in ip_anon_register()
|
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 122 #define s6_addr8 _S6_un._S6_u8 123 #define s6_addr32 _S6_un._S6_u32
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 100 #define V4MASK_TO_V6(v4, v6) ((v6)._S6_un._S6_u32[0] = 0xfffffffful, \ 101 (v6)._S6_un._S6_u32[1] = 0xfffffffful, \ 102 (v6)._S6_un._S6_u32[2] = 0xfffffffful, \ 103 (v6)._S6_un._S6_u32[3] = (v4)) 105 #define IN6_IS_V4MASK(v6) ((v6)._S6_un._S6_u32[0] == 0xfffffffful && \ 106 (v6)._S6_un._S6_u32[1] == 0xfffffffful && \ 107 (v6)._S6_un._S6_u32[2] == 0xfffffffful)
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 5638 if (ip6._S6_un._S6_u8[i] == 0 && in dtrace_dif_subr() 5645 (ip6._S6_un._S6_u8[i] != 0 || in dtrace_dif_subr() 5657 if (ip6._S6_un._S6_u8[i] == 0 && in dtrace_dif_subr() 5674 val = ip6._S6_un._S6_u8[i]; in dtrace_dif_subr() 5715 val = (ip6._S6_un._S6_u8[i] << 8) + in dtrace_dif_subr() 5716 ip6._S6_un._S6_u8[i + 1]; in dtrace_dif_subr()
|