Home
last modified time | relevance | path

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

/include/net/
Dipv6.h391 unsigned pdw, pbi; in __ipv6_prefix_equal() local
394 pdw = prefixlen >> 5; in __ipv6_prefix_equal()
395 if (pdw && memcmp(a1, a2, pdw << 2)) in __ipv6_prefix_equal()
400 if (pbi && ((a1[pdw] ^ a2[pdw]) & htonl((0xffffffff) << (32 - pbi)))) in __ipv6_prefix_equal()
Dxfrm.h811 int pdw; in addr_match() local
814 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in addr_match()
817 if (pdw) in addr_match()
818 if (memcmp(a1, a2, pdw << 2)) in addr_match()
826 if ((a1[pdw] ^ a2[pdw]) & mask) in addr_match()