MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_fib_add

Function rte_fib_add

dpdk/lib/fib/rte_fib.c:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int
120rte_fib_add(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop)
121{
122 if ((fib == NULL) || (fib->modify == NULL) ||
123 (depth > RTE_FIB_MAXDEPTH))
124 return -EINVAL;
125 return fib->modify(fib, ip, depth, next_hop, RTE_FIB_ADD);
126}
127
128int
129rte_fib_delete(struct rte_fib *fib, uint32_t ip, uint8_t depth)

Callers 5

run_v4Function · 0.85
test_add_del_invalidFunction · 0.85
check_fibFunction · 0.85
test_fib_perfFunction · 0.85
setup_fibFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_add_del_invalidFunction · 0.68
check_fibFunction · 0.68
test_fib_perfFunction · 0.68