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

Function tap_find

dpdk/examples/ip_pipeline/tap.c:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34struct tap *
35tap_find(const char *name)
36{
37 struct tap *tap;
38
39 if (name == NULL)
40 return NULL;
41
42 TAILQ_FOREACH(tap, &tap_list, node)
43 if (strcmp(tap->name, name) == 0)
44 return tap;
45
46 return NULL;
47}
48
49#ifndef RTE_EXEC_ENV_LINUX
50

Callers 3

pipeline_port_in_createFunction · 0.85
pipeline_port_out_createFunction · 0.85
tap_createFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected