Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireguard/
Dallowedips.c128 static u8 common_bits(const struct allowedips_node *node, const u8 *key, in common_bits() function
149 return common_bits(node, key, bits) >= node->cidr; in prefix_matches()
253 cidr = min(cidr, common_bits(down, key, bits)); in add()