diff options
author | Ben Pfaff <blp@nicira.com> | 2010-10-14 13:25:36 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-10-29 09:53:51 -0700 |
commit | 76ecc721793b29c8bae44b10a065ec9ac07a9e4b (patch) | |
tree | 9dfa70b869f533adf2f4e9f50763abee59bec7ae /lib/classifier.h | |
parent | 48c3de13bee26106d8e708600904f2b20bd08818 (diff) |
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.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r-- | lib/classifier.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/classifier.h b/lib/classifier.h index 28be2471..46df77d7 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -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) |