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

Function table_rule_delete

dpdk/examples/ip_pipeline/pipeline.c:1051–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051void
1052table_rule_delete(struct table *table,
1053 struct table_rule_match *match)
1054{
1055 struct table_rule *rule;
1056
1057 rule = table_rule_find(table, match);
1058 if (rule == NULL)
1059 return;
1060
1061 TAILQ_REMOVE(&table->rules, rule, node);
1062 free(rule);
1063}
1064
1065void
1066table_rule_default_add(struct table *table,

Callers 1

Calls 2

table_rule_findFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected