Lines Matching refs:s6_addr32

600 	return !!(((a1->s6_addr32[0] ^ a2->s6_addr32[0]) & m->s6_addr32[0]) |  in ipv6_masked_addr_cmp()
601 ((a1->s6_addr32[1] ^ a2->s6_addr32[1]) & m->s6_addr32[1]) | in ipv6_masked_addr_cmp()
602 ((a1->s6_addr32[2] ^ a2->s6_addr32[2]) & m->s6_addr32[2]) | in ipv6_masked_addr_cmp()
603 ((a1->s6_addr32[3] ^ a2->s6_addr32[3]) & m->s6_addr32[3])); in ipv6_masked_addr_cmp()
660 __ipv6_addr_set_half(&addr->s6_addr32[0], w1, w2); in ipv6_addr_set()
661 __ipv6_addr_set_half(&addr->s6_addr32[2], w3, w4); in ipv6_addr_set()
673 return ((a1->s6_addr32[0] ^ a2->s6_addr32[0]) | in ipv6_addr_equal()
674 (a1->s6_addr32[1] ^ a2->s6_addr32[1]) | in ipv6_addr_equal()
675 (a1->s6_addr32[2] ^ a2->s6_addr32[2]) | in ipv6_addr_equal()
676 (a1->s6_addr32[3] ^ a2->s6_addr32[3])) == 0; in ipv6_addr_equal()
709 const __be32 *a1 = addr1->s6_addr32; in ipv6_prefix_equal()
710 const __be32 *a2 = addr2->s6_addr32; in ipv6_prefix_equal()
734 return (a->s6_addr32[0] | a->s6_addr32[1] | in ipv6_addr_any()
735 a->s6_addr32[2] | a->s6_addr32[3]) == 0; in ipv6_addr_any()
747 return (__force u32)(a->s6_addr32[0] ^ a->s6_addr32[1] ^ in ipv6_addr_hash()
748 a->s6_addr32[2] ^ a->s6_addr32[3]); in ipv6_addr_hash()
755 return jhash2((__force const u32 *)a->s6_addr32, in __ipv6_addr_jhash()
756 ARRAY_SIZE(a->s6_addr32), initval); in __ipv6_addr_jhash()
766 return (a->s6_addr32[0] | a->s6_addr32[1] | in ipv6_addr_loopback()
767 a->s6_addr32[2] | (a->s6_addr32[3] ^ cpu_to_be32(1))) == 0; in ipv6_addr_loopback()
781 (__force unsigned long)(a->s6_addr32[0] | a->s6_addr32[1]) | in ipv6_addr_v4mapped()
783 (__force unsigned long)(a->s6_addr32[2] ^ in ipv6_addr_v4mapped()
789 return ipv6_addr_v4mapped(a) && ipv4_is_zeronet(a->s6_addr32[3]); in ipv6_addr_v4mapped_any()
794 return ipv6_addr_v4mapped(a) && ipv4_is_loopback(a->s6_addr32[3]); in ipv6_addr_v4mapped_loopback()
806 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); in ipv6_portaddr_hash()
808 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in ipv6_portaddr_hash()
819 return (a->s6_addr32[0] & htonl(0xfffffff0)) == htonl(0x20010010); in ipv6_addr_orchid()
824 return (addr->s6_addr32[0] & htonl(0xFF000000)) == htonl(0xFF000000); in ipv6_addr_is_multicast()