Searched refs:prefixlen (Results 1 – 6 of 6) sorted by relevance
78 __u16 prefixlen; member
457 unsigned int prefixlen) in ipv6_prefix_equal() argument462 if (prefixlen >= 64) { in ipv6_prefix_equal()465 return __ipv6_prefix_equal64_half(a1 + 1, a2 + 1, prefixlen - 64); in ipv6_prefix_equal()467 return __ipv6_prefix_equal64_half(a1, a2, prefixlen); in ipv6_prefix_equal()472 unsigned int prefixlen) in ipv6_prefix_equal() argument479 pdw = prefixlen >> 5; in ipv6_prefix_equal()484 pbi = prefixlen & 0x1f; in ipv6_prefix_equal()
129 unsigned char prefixlen; member147 unsigned char prefixlen; member
11 unsigned char prefixlen; member
29 u16 prefixlen; member
822 int prefixlen) in addr_match() argument829 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in addr_match()830 pbi = prefixlen & 0x1f; /* num of bits in incomplete u32 in prefix */ in addr_match()848 static inline bool addr4_match(__be32 a1, __be32 a2, u8 prefixlen) in addr4_match() argument851 if (prefixlen == 0) in addr4_match()853 return !((a1 ^ a2) & htonl(0xFFFFFFFFu << (32 - prefixlen))); in addr4_match()