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

Function rte_rib6_get_ip

dpdk/lib/rib/rte_rib6.c:412–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412int
413rte_rib6_get_ip(const struct rte_rib6_node *node,
414 uint8_t ip[RTE_RIB6_IPV6_ADDR_SIZE])
415{
416 if (unlikely(node == NULL || ip == NULL)) {
417 rte_errno = EINVAL;
418 return -1;
419 }
420 rte_rib6_copy_addr(ip, node->ip);
421 return 0;
422}
423
424int
425rte_rib6_get_depth(const struct rte_rib6_node *node, uint8_t *depth)

Callers 2

modify_dpFunction · 0.85
test_get_fnFunction · 0.85

Calls 1

rte_rib6_copy_addrFunction · 0.85

Tested by 1

test_get_fnFunction · 0.68