Searched refs:s6_addr32 (Results 1 – 8 of 8) sorted by relevance
61 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6()62 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()63 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()64 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()66 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()67 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()70 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6()71 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6()72 c = (__force u32) ip6h->saddr.s6_addr32[1]; in hash_v6()74 c = (__force u32) ip6h->daddr.s6_addr32[1]; in hash_v6()
508 return !!(((a1->s6_addr32[0] ^ a2->s6_addr32[0]) & m->s6_addr32[0]) | in ipv6_masked_addr_cmp()509 ((a1->s6_addr32[1] ^ a2->s6_addr32[1]) & m->s6_addr32[1]) | in ipv6_masked_addr_cmp()510 ((a1->s6_addr32[2] ^ a2->s6_addr32[2]) & m->s6_addr32[2]) | in ipv6_masked_addr_cmp()511 ((a1->s6_addr32[3] ^ a2->s6_addr32[3]) & m->s6_addr32[3])); in ipv6_masked_addr_cmp()568 __ipv6_addr_set_half(&addr->s6_addr32[0], w1, w2); in ipv6_addr_set()569 __ipv6_addr_set_half(&addr->s6_addr32[2], w3, w4); in ipv6_addr_set()581 return ((a1->s6_addr32[0] ^ a2->s6_addr32[0]) | in ipv6_addr_equal()582 (a1->s6_addr32[1] ^ a2->s6_addr32[1]) | in ipv6_addr_equal()583 (a1->s6_addr32[2] ^ a2->s6_addr32[2]) | in ipv6_addr_equal()584 (a1->s6_addr32[3] ^ a2->s6_addr32[3])) == 0; in ipv6_addr_equal()[all …]
446 htonl(0xFF000000) | addr->s6_addr32[3]); in addrconf_addr_solict_mult()455 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_nodes()456 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_nodes()457 (addr->s6_addr32[3] ^ htonl(0x00000001))) == 0; in ipv6_addr_is_ll_all_nodes()467 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_routers()468 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_routers()469 (addr->s6_addr32[3] ^ htonl(0x00000002))) == 0; in ipv6_addr_is_ll_all_routers()475 return (addr->s6_addr32[2] | htonl(0x02000000)) == htonl(0x02005EFE); in ipv6_addr_is_isatap()486 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_solict_mult()487 addr->s6_addr32[1] | in ipv6_addr_is_solict_mult()[all …]
221 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); in ipv6_eth_mc_map()254 if ((addr->s6_addr32[0] | addr->s6_addr32[1] | in ipv6_ipgre_mc_map()255 (addr->s6_addr32[2] ^ htonl(0x0000ffff))) != 0) in ipv6_ipgre_mc_map()257 memcpy(buf, &addr->s6_addr32[3], 4); in ipv6_ipgre_mc_map()
248 if (addr->s6_addr32[0] == htonl(0xfe800000) && in rdma_link_local_addr()249 addr->s6_addr32[1] == 0) in rdma_link_local_addr()269 ipv4_addr = addr->s6_addr32[3]; in rdma_is_multicast_addr()
541 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4()550 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6()555 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6()556 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6()557 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
44 #define s6_addr32 in6_u.u6_addr32 macro
328 return ipv4_is_loopback(sin6->sin6_addr.s6_addr32[3]); in __nlm_privileged_request6()