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

Function swq_find

dpdk/examples/ip_pipeline/swq.c:22–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22struct swq *
23swq_find(const char *name)
24{
25 struct swq *swq;
26
27 if (name == NULL)
28 return NULL;
29
30 TAILQ_FOREACH(swq, &swq_list, node)
31 if (strcmp(swq->name, name) == 0)
32 return swq;
33
34 return NULL;
35}
36
37struct swq *
38swq_create(const char *name, struct swq_params *params)

Callers 3

swq_createFunction · 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