Home
last modified time | relevance | path

Searched refs:pdw (Results 1 – 2 of 2) sorted by relevance

/include/net/
Dipv6.h319 unsigned pdw, pbi; in __ipv6_prefix_equal() local
322 pdw = prefixlen >> 5; in __ipv6_prefix_equal()
323 if (pdw && memcmp(a1, a2, pdw << 2)) in __ipv6_prefix_equal()
328 if (pbi && ((a1[pdw] ^ a2[pdw]) & htonl((0xffffffff) << (32 - pbi)))) in __ipv6_prefix_equal()
Dxfrm.h774 int pdw; in addr_match() local
777 pdw = prefixlen >> 5; /* num of whole __u32 in prefix */ in addr_match()
780 if (pdw) in addr_match()
781 if (memcmp(a1, a2, pdw << 2)) in addr_match()
789 if ((a1[pdw] ^ a2[pdw]) & mask) in addr_match()