Searched refs:common_depth (Results 1 – 2 of 2) sorted by relevance
245 uint8_t common_depth; in rte_rib_insert() local300 common_depth = RTE_MIN(depth, (*tmp)->depth); in rte_rib_insert()304 common_depth = RTE_MIN(d, common_depth); in rte_rib_insert()305 common_prefix = ip & rte_rib_depth_to_mask(common_depth); in rte_rib_insert()306 if ((common_prefix == ip) && (common_depth == depth)) { in rte_rib_insert()324 common_node->depth = common_depth; in rte_rib_insert()329 if ((new_node->ip & (1 << (31 - common_depth))) == 0) { in rte_rib_insert()
294 uint8_t common_depth, ip_xor; in rte_rib6_insert() local359 common_depth = RTE_MIN(depth, (*tmp)->depth); in rte_rib6_insert()370 common_depth = RTE_MIN(d, common_depth); in rte_rib6_insert()373 common_prefix[i] = tmp_ip[i] & get_msk_part(common_depth, i); in rte_rib6_insert()376 (common_depth == depth)) { in rte_rib6_insert()394 common_node->depth = common_depth; in rte_rib6_insert()399 if (get_dir((*tmp)->ip, common_depth) == 1) { in rte_rib6_insert()