Home
last modified time | relevance | path

Searched refs:prefixlen (Results 1 – 6 of 6) sorted by relevance

/include/uapi/linux/
Dif_tunnel.h78 __u16 prefixlen; member
/include/net/
Dipv6.h457 unsigned int prefixlen) in ipv6_prefix_equal() argument
462 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() argument
479 pdw = prefixlen >> 5; in ipv6_prefix_equal()
484 pbi = prefixlen & 0x1f; in ipv6_prefix_equal()
Dip_fib.h129 unsigned char prefixlen; member
147 unsigned char prefixlen; member
Ddn_fib.h11 unsigned char prefixlen; member
Dip_tunnels.h29 u16 prefixlen; member
Dxfrm.h822 int prefixlen) in addr_match() argument
829 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() argument
851 if (prefixlen == 0) in addr4_match()
853 return !((a1 ^ a2) & htonl(0xFFFFFFFFu << (32 - prefixlen))); in addr4_match()