mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
classifier: Change classifier_find_rule_exactly() to take a cls_rule *.
There's no benefit to spelling out all of the components of a cls_rule separately. Just use cls_rule itself.
This commit is contained in:
@@ -158,9 +158,7 @@ void classifier_for_each_match(const struct classifier *,
|
||||
const struct cls_rule *,
|
||||
int include, cls_cb_func *, void *aux);
|
||||
struct cls_rule *classifier_find_rule_exactly(const struct classifier *,
|
||||
const struct flow *target,
|
||||
uint32_t wildcards,
|
||||
unsigned int priority);
|
||||
const struct cls_rule *);
|
||||
|
||||
#define CLASSIFIER_FOR_EACH_EXACT_RULE(RULE, MEMBER, CLS) \
|
||||
HMAP_FOR_EACH (RULE, MEMBER.node.hmap, &(CLS)->exact_table)
|
||||
|
Reference in New Issue
Block a user