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

Function rte_rib_get_nh

dpdk/lib/rib/rte_rib.c:373–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373int
374rte_rib_get_nh(const struct rte_rib_node *node, uint64_t *nh)
375{
376 if (unlikely(node == NULL || nh == NULL)) {
377 rte_errno = EINVAL;
378 return -1;
379 }
380 *nh = node->nh;
381 return 0;
382}
383
384int
385rte_rib_set_nh(struct rte_rib_node *node, uint64_t nh)

Callers 4

dir24_8_modifyFunction · 0.85
dummy_lookupFunction · 0.85
test_get_fnFunction · 0.85
test_basicFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_get_fnFunction · 0.68
test_basicFunction · 0.68