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

Function rte_rib_get_depth

dpdk/lib/rib/rte_rib.c:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356int
357rte_rib_get_depth(const struct rte_rib_node *node, uint8_t *depth)
358{
359 if (unlikely(node == NULL || depth == NULL)) {
360 rte_errno = EINVAL;
361 return -1;
362 }
363 *depth = node->depth;
364 return 0;
365}
366
367void *
368rte_rib_get_ext(struct rte_rib_node *node)

Callers 2

modify_fibFunction · 0.85
test_get_fnFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_get_fnFunction · 0.68