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

Function link_find

dpdk/examples/ip_pipeline/link.c:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24struct link *
25link_find(const char *name)
26{
27 struct link *link;
28
29 if (name == NULL)
30 return NULL;
31
32 TAILQ_FOREACH(link, &link_list, node)
33 if (strcmp(link->name, name) == 0)
34 return link;
35
36 return NULL;
37}
38
39struct link *
40link_next(struct link *link)

Callers 5

cmd_link_showFunction · 0.85
link_createFunction · 0.85
link_is_upFunction · 0.85
pipeline_port_in_createFunction · 0.85
pipeline_port_out_createFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected