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

Function get_nxt_node

dpdk/lib/rib/rte_rib6.c:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static inline struct rte_rib6_node *
102get_nxt_node(struct rte_rib6_node *node,
103 const uint8_t ip[RTE_RIB6_IPV6_ADDR_SIZE])
104{
105 if (node->depth == RIB6_MAXDEPTH)
106 return NULL;
107
108 return (get_dir(ip, node->depth)) ? node->right : node->left;
109}
110
111static struct rte_rib6_node *
112node_alloc(struct rte_rib6 *rib)

Callers 3

rte_rib6_lookupFunction · 0.70
rte_rib6_lookup_exactFunction · 0.70
rte_rib6_get_nxtFunction · 0.70

Calls 1

get_dirFunction · 0.85

Tested by

no test coverage detected