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

Function rte_rib6_get_depth

dpdk/lib/rib/rte_rib6.c:424–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424int
425rte_rib6_get_depth(const struct rte_rib6_node *node, uint8_t *depth)
426{
427 if (unlikely(node == NULL || depth == NULL)) {
428 rte_errno = EINVAL;
429 return -1;
430 }
431 *depth = node->depth;
432 return 0;
433}
434
435void *
436rte_rib6_get_ext(struct rte_rib6_node *node)

Callers 3

modify_dpFunction · 0.85
trie_modifyFunction · 0.85
test_get_fnFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_get_fnFunction · 0.68