Lines Matching refs:masked_ip
826 simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth) in simulate_add() argument
838 ret = simulate_add_step(lpm, lpm->tbl24, &tbl_next, masked_ip, in simulate_add()
847 ret = simulate_add_step(lpm, tbl, &tbl_next, masked_ip, 1, in simulate_add()
871 uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE]; in rte_lpm6_add() local
879 ip6_copy_addr(masked_ip, ip); in rte_lpm6_add()
880 ip6_mask_addr(masked_ip, depth); in rte_lpm6_add()
883 int ret = simulate_add(lpm, masked_ip, depth); in rte_lpm6_add()
889 int is_new_rule = rule_add(lpm, masked_ip, depth, next_hop); in rte_lpm6_add()
898 masked_ip, ADD_FIRST_BYTE, 1, depth, next_hop, in rte_lpm6_add()
909 &tbl_next_num, masked_ip, 1, (uint8_t)(i + 1), in rte_lpm6_add()
1047 uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE];
1055 ip6_copy_addr(masked_ip, ip);
1056 ip6_mask_addr(masked_ip, depth);
1058 return rule_find(lpm, masked_ip, depth, next_hop);
1097 uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE];
1105 ip6_copy_addr(masked_ip, ips[i]);
1106 ip6_mask_addr(masked_ip, depths[i]);
1107 rule_delete(lpm, masked_ip, depths[i]);
1321 uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE]; in rte_lpm6_delete() local
1333 ip6_copy_addr(masked_ip, ip); in rte_lpm6_delete()
1334 ip6_mask_addr(masked_ip, depth); in rte_lpm6_delete()
1338 ret = rule_delete(lpm, masked_ip, depth); in rte_lpm6_delete()
1344 rule_find_range(lpm, masked_ip, depth, &from, &to, &tbl_ind); in rte_lpm6_delete()
1350 ret = rule_find_less_specific(lpm, masked_ip, depth, in rte_lpm6_delete()