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

Function get_nxt_node

dpdk/lib/rib/rte_rib.c:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static inline struct rte_rib_node *
73get_nxt_node(struct rte_rib_node *node, uint32_t ip)
74{
75 if (node->depth == RIB_MAXDEPTH)
76 return NULL;
77 return (ip & (1 << (31 - node->depth))) ? node->right : node->left;
78}
79
80static struct rte_rib_node *
81node_alloc(struct rte_rib *rib)

Callers 3

rte_rib_lookupFunction · 0.70
__rib_lookup_exactFunction · 0.70
rte_rib_get_nxtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected