Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c120 int16_t part_depth, mask; in ip6_mask_addr() local
123 part_depth = depth; in ip6_mask_addr()
126 if (part_depth < BYTE_SIZE && part_depth >= 0) { in ip6_mask_addr()
127 mask = (uint16_t)(~(UINT8_MAX >> part_depth)); in ip6_mask_addr()
129 } else if (part_depth < 0) in ip6_mask_addr()
132 part_depth -= BYTE_SIZE; in ip6_mask_addr()