Home
last modified time | relevance | path

Searched refs:s6_addr32 (Results 1 – 8 of 8) sorted by relevance

/include/net/netfilter/
Dnf_queue.h64 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6()
65 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()
66 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
67 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
69 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
70 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
73 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6()
74 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6()
75 c = (__force u32) ip6h->saddr.s6_addr32[1]; in hash_v6()
77 c = (__force u32) ip6h->daddr.s6_addr32[1]; in hash_v6()
/include/net/
Dipv6.h512 return !!(((a1->s6_addr32[0] ^ a2->s6_addr32[0]) & m->s6_addr32[0]) | in ipv6_masked_addr_cmp()
513 ((a1->s6_addr32[1] ^ a2->s6_addr32[1]) & m->s6_addr32[1]) | in ipv6_masked_addr_cmp()
514 ((a1->s6_addr32[2] ^ a2->s6_addr32[2]) & m->s6_addr32[2]) | in ipv6_masked_addr_cmp()
515 ((a1->s6_addr32[3] ^ a2->s6_addr32[3]) & m->s6_addr32[3])); in ipv6_masked_addr_cmp()
572 __ipv6_addr_set_half(&addr->s6_addr32[0], w1, w2); in ipv6_addr_set()
573 __ipv6_addr_set_half(&addr->s6_addr32[2], w3, w4); in ipv6_addr_set()
585 return ((a1->s6_addr32[0] ^ a2->s6_addr32[0]) | in ipv6_addr_equal()
586 (a1->s6_addr32[1] ^ a2->s6_addr32[1]) | in ipv6_addr_equal()
587 (a1->s6_addr32[2] ^ a2->s6_addr32[2]) | in ipv6_addr_equal()
588 (a1->s6_addr32[3] ^ a2->s6_addr32[3])) == 0; in ipv6_addr_equal()
[all …]
Daddrconf.h469 htonl(0xFF000000) | addr->s6_addr32[3]); in addrconf_addr_solict_mult()
478 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_nodes()
479 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_nodes()
480 (addr->s6_addr32[3] ^ htonl(0x00000001))) == 0; in ipv6_addr_is_ll_all_nodes()
490 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_routers()
491 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_routers()
492 (addr->s6_addr32[3] ^ htonl(0x00000002))) == 0; in ipv6_addr_is_ll_all_routers()
498 return (addr->s6_addr32[2] | htonl(0x02000000)) == htonl(0x02005EFE); in ipv6_addr_is_isatap()
509 return ((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_solict_mult()
510 addr->s6_addr32[1] | in ipv6_addr_is_solict_mult()
[all …]
Dif_inet6.h232 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); in ipv6_eth_mc_map()
265 if ((addr->s6_addr32[0] | addr->s6_addr32[1] | in ipv6_ipgre_mc_map()
266 (addr->s6_addr32[2] ^ htonl(0x0000ffff))) != 0) in ipv6_ipgre_mc_map()
268 memcpy(buf, &addr->s6_addr32[3], 4); in ipv6_ipgre_mc_map()
/include/rdma/
Dib_addr.h199 if (addr->s6_addr32[0] == htonl(0xfe800000) && in rdma_link_local_addr()
200 addr->s6_addr32[1] == 0) in rdma_link_local_addr()
220 ipv4_addr = addr->s6_addr32[3]; in rdma_is_multicast_addr()
/include/net/sctp/
Dsctp.h544 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4()
553 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6()
558 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6()
559 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6()
560 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
/include/uapi/linux/
Din6.h44 #define s6_addr32 in6_u.u6_addr32 macro
/include/linux/lockd/
Dlockd.h331 return ipv4_is_loopback(sin6->sin6_addr.s6_addr32[3]); in __nlm_privileged_request6()