Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c826 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()
[all …]