diff options
author | Ben Pfaff <blp@nicira.com> | 2010-11-08 10:37:35 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-11-08 10:43:32 -0800 |
commit | b63f2ea79417e93390eaa86f68e546242e15a9ec (patch) | |
tree | ffdcb19f557cdaddddf5238d396730d65b3d100a /lib/classifier.h | |
parent | 39b727382adbfc3fa983edd491fd345fe642a540 (diff) |
flow: Better abstract flow_wildcards and use it more widely.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r-- | lib/classifier.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/classifier.h b/lib/classifier.h index 5de2b32d..0d95a2ea 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -73,8 +73,10 @@ enum { CLS_INC_ALL = CLS_INC_EXACT | CLS_INC_WILD }; -void cls_rule_from_flow(const struct flow *, uint32_t wildcards, - unsigned int priority, struct cls_rule *); +void cls_rule_init(const struct flow *, const struct flow_wildcards *, + unsigned int priority, struct cls_rule *); +void cls_rule_init_exact(const struct flow *, unsigned int priority, + struct cls_rule *); void cls_rule_from_match(const struct ofp_match *, unsigned int priority, int flow_format, uint64_t cookie, struct cls_rule *); void cls_rule_init_catchall(struct cls_rule *, unsigned int priority); |