Lines Matching defs:masked_ip
786 simulate_add(struct rte_lpm6 *lpm, const struct rte_ipv6_addr *masked_ip, uint8_t depth)
798 ret = simulate_add_step(lpm, lpm->tbl24, &tbl_next, masked_ip,
807 ret = simulate_add_step(lpm, tbl, &tbl_next, masked_ip, 1,
831 struct rte_ipv6_addr masked_ip;
839 masked_ip = *ip;
840 rte_ipv6_addr_mask(&masked_ip, depth);
843 int ret = simulate_add(lpm, &masked_ip, depth);
848 int is_new_rule = rule_add(lpm, &masked_ip, depth, next_hop);
856 &masked_ip, ADD_FIRST_BYTE, 1, depth, next_hop,
867 &tbl_next_num, &masked_ip, 1, (uint8_t)(i + 1),
992 struct rte_ipv6_addr masked_ip;
1000 masked_ip = *ip;
1001 rte_ipv6_addr_mask(&masked_ip, depth);
1003 return rule_find(lpm, &masked_ip, depth, next_hop);
1042 struct rte_ipv6_addr masked_ip;
1050 masked_ip = ips[i];
1051 rte_ipv6_addr_mask(&masked_ip, depths[i]);
1052 rule_delete(lpm, &masked_ip, depths[i]);
1263 struct rte_ipv6_addr masked_ip;
1275 masked_ip = *ip;
1276 rte_ipv6_addr_mask(&masked_ip, depth);
1279 ret = rule_delete(lpm, &masked_ip, depth);
1284 rule_find_range(lpm, &masked_ip, depth, &from, &to, &tbl_ind);
1287 * note: masked_ip will be modified, don't use it anymore
1289 ret = rule_find_less_specific(lpm, &masked_ip, depth,