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

Function table_action_profile_find

dpdk/examples/ip_pipeline/action.c:161–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161struct table_action_profile *
162table_action_profile_find(const char *name)
163{
164 struct table_action_profile *profile;
165
166 if (name == NULL)
167 return NULL;
168
169 TAILQ_FOREACH(profile, &table_action_profile_list, node)
170 if (strcmp(profile->name, name) == 0)
171 return profile;
172
173 return NULL;
174}
175
176struct table_action_profile *
177table_action_profile_create(const char *name,

Callers 2

pipeline_table_createFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected