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

Function rte_rib_get_ip

dpdk/lib/rib/rte_rib.c:345–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345int
346rte_rib_get_ip(const struct rte_rib_node *node, uint32_t *ip)
347{
348 if (unlikely(node == NULL || ip == NULL)) {
349 rte_errno = EINVAL;
350 return -1;
351 }
352 *ip = node->ip;
353 return 0;
354}
355
356int
357rte_rib_get_depth(const struct rte_rib_node *node, uint8_t *depth)

Callers 2

modify_fibFunction · 0.85
test_get_fnFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_get_fnFunction · 0.68