Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireguard/
Dallowedips.c345 const unsigned int cidr_bytes = DIV_ROUND_UP(node->cidr, 8U); in wg_allowedips_read_node() local
347 memset(ip + cidr_bytes, 0, node->bitlen / 8U - cidr_bytes); in wg_allowedips_read_node()
349 ip[cidr_bytes - 1U] &= ~0U << (-node->cidr % 8U); in wg_allowedips_read_node()