Home
last modified time | relevance | path

Searched refs:existing_rule (Results 1 – 1 of 1) sorted by relevance

/f-stack/dpdk/examples/ip_pipeline/
H A Dpipeline.c1069 struct table_rule *existing_rule; in table_rule_add() local
1071 existing_rule = table_rule_find(table, &new_rule->match); in table_rule_add()
1072 if (existing_rule == NULL) in table_rule_add()
1075 TAILQ_INSERT_AFTER(&table->rules, existing_rule, new_rule, node); in table_rule_add()
1076 TAILQ_REMOVE(&table->rules, existing_rule, node); in table_rule_add()
1077 free(existing_rule); in table_rule_add()
1089 struct table_rule *existing_rule, *new_rule; in table_rule_add_bulk() local
1097 existing_rule = table_rule_find(table, &new_rule->match); in table_rule_add_bulk()
1098 if (existing_rule == NULL) in table_rule_add_bulk()
1102 TAILQ_REMOVE(&table->rules, existing_rule, node); in table_rule_add_bulk()
[all …]