Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.h324 #define rte_lpm_lookup_bulk(lpm, ips, next_hops, n) \ argument
325 rte_lpm_lookup_bulk_func(lpm, ips, next_hops, n)
329 uint32_t *next_hops, const unsigned n) in rte_lpm_lookup_bulk_func() argument
337 (next_hops == NULL)), -EINVAL); in rte_lpm_lookup_bulk_func()
346 next_hops[i] = *ptbl; in rte_lpm_lookup_bulk_func()
349 if (unlikely((next_hops[i] & RTE_LPM_VALID_EXT_ENTRY_BITMASK) == in rte_lpm_lookup_bulk_func()
353 (((uint32_t)next_hops[i] & 0x00FFFFFF) * in rte_lpm_lookup_bulk_func()
357 next_hops[i] = *ptbl; in rte_lpm_lookup_bulk_func()
H A Drte_lpm6.h203 int32_t *next_hops, unsigned int n);
H A Drte_lpm6.c988 int32_t *next_hops, unsigned int n) in rte_lpm6_lookup_bulk_func() argument
998 if ((lpm == NULL) || (ips == NULL) || (next_hops == NULL)) in rte_lpm6_lookup_bulk_func()
1019 next_hops[i] = -1; in rte_lpm6_lookup_bulk_func()
1021 next_hops[i] = (int32_t)next_hop; in rte_lpm6_lookup_bulk_func()