/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip6.h | 72 (((addr)->s6_addr32[0] & 0x000f0000) >> 16) 75 (((addr)->s6_addr32[0] & 0x00000f00) >> 8) 136 #define V4MASK_TO_V6(v4, v6) ((v6).s6_addr32[0] = 0xffffffffUL, \ 137 (v6).s6_addr32[1] = 0xffffffffUL, \ 138 (v6).s6_addr32[2] = 0xffffffffUL, \ 139 (v6).s6_addr32[3] = (v4)) 147 #define V4_PART_OF_V6(v6) v6.s6_addr32[3] 150 #define V6_OR_V4_INADDR_ANY(a) ((a).s6_addr32[3] == 0 && \ 151 ((a).s6_addr32[2] == 0xffffU || \ 152 (a).s6_addr32[ [all...] |
H A D | ipclassifier.h | 638 IPCL_IPTUN_HASH((laddr)->s6_addr32[0] ^ (laddr)->s6_addr32[1] ^ \ 639 (faddr)->s6_addr32[2] ^ (faddr)->s6_addr32[3], \ 640 (faddr)->s6_addr32[0] ^ (faddr)->s6_addr32[1] ^ \ 641 (laddr)->s6_addr32[2] ^ (laddr)->s6_addr32[3])
|
H A D | ip_ire.h | 59 IRE_ADDR_HASH((addr).s6_addr32[3], table_size)
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 561 hnat_cksum_v4((uint16_t *)&dst->s6_addr32[3], 562 (uint16_t *)&info->nat_dst.s6_addr32[3], 0, 0, 564 hnat_cksum_v4((uint16_t *)&dst->s6_addr32[3], 565 (uint16_t *)&info->nat_dst.s6_addr32[3], dport, 571 (uint16_t *)&info->nat_dst.s6_addr32[3], 572 (uint16_t *)&dst->s6_addr32[3], 0, 0, 575 (uint16_t *)&info->nat_dst.s6_addr32[3], 576 (uint16_t *)&dst->s6_addr32[3], 600 fnat_cksum_v4((uint16_t *)&src->s6_addr32[3], 601 (uint16_t *)&dst->s6_addr32[ [all...] |
H A D | ilb_impl.h | 117 #define iser_addr_v4 iser_addr_v6.s6_addr32[3] 118 #define iser_prefix_v4 iser_prefix_v6.s6_addr32[3] 194 #define ir_target_v4 ir_target_v6.s6_addr32[3] 196 #define ir_target_prefix_v4 ir_prefix_v6.s6_addr32[3]
|
H A D | ilb_nat.c | 64 i = ntohl(a->s6_addr32[3]); 66 a->s6_addr32[3] = htonl(++i); 72 a->s6_addr32[3] = htonl(i); 75 a->s6_addr32[3] = 0; 78 a->s6_addr32[2] = htonl(i); 81 a->s6_addr32[2] = 0; 84 a->s6_addr32[1] = htonl(i); 87 a->s6_addr32[1] = 0; 208 ILB_NAT_SRC_HASH(idx, &nat_src->s6_addr32[3], &serv_addr->s6_addr32[ [all...] |
H A D | ilb.c | 319 i = ILB_RULE_HASH((uint8_t *)&addr->s6_addr32[3], 492 * large such that the most significant 2 s6_addr32 must be 495 addr1 = ntohl(a1->s6_addr32[3]); 496 addr2 = ntohl(a2->s6_addr32[3]); 497 if (a1->s6_addr32[0] != a2->s6_addr32[0] || 498 a1->s6_addr32[1] != a2->s6_addr32[1] || 499 a1->s6_addr32[2] > a2->s6_addr32[ [all...] |
H A D | ilb_alg_hash.c | 44 HASH_IP_V4((hash), (addr)->s6_addr32[3], (size)) 53 HASH_IP_PORT_V4((hash), (addr)->s6_addr32[3], (port), (size)) 62 HASH_IP_VIP_V4((hash), (saddr)->s6_addr32[3], (daddr)->s6_addr32[3], \
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 233 ntohl(addr->ipv6.sin6_addr.s6_addr32[0]), 234 ntohl(addr->ipv6.sin6_addr.s6_addr32[1]), 235 ntohl(addr->ipv6.sin6_addr.s6_addr32[2]), 236 ntohl(addr->ipv6.sin6_addr.s6_addr32[3]));
|
H A D | http.h | 78 * support IPv6 - the "s6_addr32" define maps to the 32-bit integer 83 #if defined(AF_INET6) && !defined(s6_addr32) 85 # define s6_addr32 _S6_un._S6_u32 macro 87 # define s6_addr32 __u6_addr.__u6_addr32 macro 89 #endif /* AF_INET6 && !s6_addr32 */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | eui64.h | 43 #define s6_addr32 _S6_un._S6_u32 macro
|
H A D | ipv6cp.c | 288 #define VALIDID(a) ( (((a).s6_addr32[0] == 0) && ((a).s6_addr32[1] == 0)) && \ 289 (((a).s6_addr32[2] != 0) || ((a).s6_addr32[3] != 0)) ) 308 eui64_copy(addr.s6_addr32[2], wo->ourid); 320 eui64_copy(addr.s6_addr32[2], wo->hisid);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 304 &(v6outp->v6addr_u.s6_addr32[3])); 309 &(v6outp->v6addr_u.s6_addr32[3])); 312 v6outp->v6addr_u.s6_addr32[3] = 313 htonl(v6outp->v6addr_u.s6_addr32[3]);
|
H A D | tnet.c | 312 ap = (uint32_t *)&ga->ga_addr.s6_addr32[0]; 333 if (ga1->ga_addr.s6_addr32[0] == ga2->ga_addr.s6_addr32[0] && 334 ga1->ga_addr.s6_addr32[1] == ga2->ga_addr.s6_addr32[1] && 335 ga1->ga_addr.s6_addr32[2] == ga2->ga_addr.s6_addr32[2] && 336 ga1->ga_addr.s6_addr32[3] == ga2->ga_addr.s6_addr32[3])
|
H A D | ip6_ire.c | 262 if (v6mask->s6_addr32[i] == 0) { 266 bits = ffs(ntohl(v6mask->s6_addr32[i])) - 1;
|
H A D | ip6_if.c | 1096 dest->s6_addr32[i] = 1097 token->s6_addr32[i] | ipv6_ll_template.s6_addr32[i]; 1424 if ((a1val = a1->s6_addr32[i]) != (a2val = a2->s6_addr32[i])) {
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 777 bcopy(zeroaddr.s6_addr32, filter->saddr.s6_addr32, 778 sizeof (filter->saddr.s6_addr32)); 780 bcopy(zeroaddr.s6_addr32, filter->saddr_mask.s6_addr32, 781 sizeof (filter->saddr_mask.s6_addr32)); 790 bcopy(addr, filter->saddr.s6_addr32, 791 sizeof (filter->saddr.s6_addr32)); 793 bcopy(mask, filter->saddr_mask.s6_addr32, 794 sizeof (filter->saddr_mask.s6_addr32)); [all...] |
H A D | classifier.c | 640 bcopy(ip6h->ip6_src.s6_addr32, packet->saddr.s6_addr32, 641 sizeof (ip6h->ip6_src.s6_addr32)); 642 bcopy(ip6h->ip6_dst.s6_addr32, packet->daddr.s6_addr32, 643 sizeof (ip6h->ip6_dst.s6_addr32)); 688 (void) inet_ntop(af, pkt->saddr.s6_addr32, saddrbuf, 690 (void) inet_ntop(af, pkt->daddr.s6_addr32, daddrbuf,
|
H A D | trie.c | 355 if (EXTRACTBIT(mask.s6_addr32[i], (pos - 1), type_len) 359 bit = EXTRACTBIT(key.s6_addr32[i], (pos - 1), type_len); 652 if (EXTRACTBIT(mask.s6_addr32[i], (pos - 1), type_len) 656 bit = EXTRACTBIT(key.s6_addr32[i], (pos - 1), type_len); 808 EXTRACTBIT(key.s6_addr32[i], (pos - 1), type_len);
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 269 bcopy(ip6h->ip6_src.s6_addr32, header->saddr.s6_addr32, 270 sizeof (ip6h->ip6_src.s6_addr32)); 271 bcopy(ip6h->ip6_dst.s6_addr32, header->daddr.s6_addr32, 272 sizeof (ip6h->ip6_dst.s6_addr32)); 470 bcopy(header->saddr.s6_addr32, flow->saddr.s6_addr32, 471 sizeof (header->saddr.s6_addr32)); 472 bcopy(header->daddr.s6_addr32, flo [all...] |
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 125 #define s6_addr32 _S6_un._S6_u32 macro 147 ((((a).s6_addr32[0] & (m).s6_addr32[0]) == (b).s6_addr32[0]) && \ 148 (((a).s6_addr32[1] & (m).s6_addr32[1]) == (b).s6_addr32[1]) && \ 149 (((a).s6_addr32[2] & (m).s6_addr32[2]) == (b).s6_addr32[ [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_impl.h | 207 #define SCTP_PRINTADDR(a) (a).s6_addr32[0], (a).s6_addr32[1],\ 208 (a).s6_addr32[2], (a).s6_addr32[3]
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 1446 in6p->s6_addr32[i] = token->s6_addr32[i] | 1447 in6p->s6_addr32[i]; 2180 v6addr->s6_addr32[i] = token->s6_addr32[i] | 2181 ll_template.s6_addr32[i]; 2229 p = (uint8_t *)&token->s6_addr32[2];
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_tgt.c | 1944 if (in61->s6_addr32[i] > in62->s6_addr32[i]) 1946 else if (in61->s6_addr32[i] < in62->s6_addr32[i])
|
/illumos-gate/usr/src/boot/include/netinet6/ |
H A D | in6.h | 107 #define s6_addr32 __u6_addr.__u6_addr32 macro
|