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

Function rte_node_edge_count

dpdk/lib/graph/node.c:199–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199rte_edge_t
200rte_node_edge_count(rte_node_t id)
201{
202 struct node *node;
203
204 NODE_ID_CHECK(id);
205 STAILQ_FOREACH(node, &node_list, next)
206 if (node->id == id)
207 return node->nb_edges;
208fail:
209 return RTE_EDGE_ID_INVALID;
210}
211
212static rte_edge_t
213edge_update(struct node *node, struct node *prev, rte_edge_t from,

Callers 4

rte_node_eth_configFunction · 0.85
graph_node_getFunction · 0.85
test_lookup_functionsFunction · 0.85

Calls

no outgoing calls

Tested by 2

graph_node_getFunction · 0.68
test_lookup_functionsFunction · 0.68