Lines Matching refs:s6_addr32
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()
617 const __be32 *a1 = addr1->s6_addr32; in ipv6_prefix_equal()
618 const __be32 *a2 = addr2->s6_addr32; in ipv6_prefix_equal()
642 return (a->s6_addr32[0] | a->s6_addr32[1] | in ipv6_addr_any()
643 a->s6_addr32[2] | a->s6_addr32[3]) == 0; in ipv6_addr_any()
655 return (__force u32)(a->s6_addr32[0] ^ a->s6_addr32[1] ^ in ipv6_addr_hash()
656 a->s6_addr32[2] ^ a->s6_addr32[3]); in ipv6_addr_hash()
663 return jhash2((__force const u32 *)a->s6_addr32, in __ipv6_addr_jhash()
664 ARRAY_SIZE(a->s6_addr32), initval); in __ipv6_addr_jhash()
674 return (a->s6_addr32[0] | a->s6_addr32[1] | in ipv6_addr_loopback()
675 a->s6_addr32[2] | (a->s6_addr32[3] ^ cpu_to_be32(1))) == 0; in ipv6_addr_loopback()
689 (__force unsigned long)(a->s6_addr32[0] | a->s6_addr32[1]) | in ipv6_addr_v4mapped()
691 (__force unsigned long)(a->s6_addr32[2] ^ in ipv6_addr_v4mapped()
704 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); in ipv6_portaddr_hash()
706 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in ipv6_portaddr_hash()
717 return (a->s6_addr32[0] & htonl(0xfffffff0)) == htonl(0x20010010); in ipv6_addr_orchid()
722 return (addr->s6_addr32[0] & htonl(0xFF000000)) == htonl(0xFF000000); in ipv6_addr_is_multicast()