Searched refs:common_depth (Results 1 – 2 of 2) sorted by relevance
247 uint8_t common_depth; in rte_rib_insert() local302 common_depth = RTE_MIN(depth, (*tmp)->depth); in rte_rib_insert()306 common_depth = RTE_MIN(d, common_depth); in rte_rib_insert()307 common_prefix = ip & rte_rib_depth_to_mask(common_depth); in rte_rib_insert()308 if ((common_prefix == ip) && (common_depth == depth)) { in rte_rib_insert()326 common_node->depth = common_depth; in rte_rib_insert()331 if ((new_node->ip & (1 << (31 - common_depth))) == 0) { in rte_rib_insert()
283 uint8_t common_depth, ip_xor; in rte_rib6_insert() local348 common_depth = RTE_MIN(depth, (*tmp)->depth); in rte_rib6_insert()359 common_depth = RTE_MIN(d, common_depth); in rte_rib6_insert()362 common_prefix[i] = tmp_ip[i] & get_msk_part(common_depth, i); in rte_rib6_insert()365 (common_depth == depth)) { in rte_rib6_insert()383 common_node->depth = common_depth; in rte_rib6_insert()388 if (get_dir((*tmp)->ip, common_depth) == 1) { in rte_rib6_insert()