summaryrefslogtreecommitdiff
path: root/lib/classifier.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-11 13:47:30 -0800
committerBen Pfaff <blp@nicira.com>2010-02-12 13:55:47 -0800
commit68d1c8c3c3de2f2dc093901d4d83567a37375bc4 (patch)
tree2dec36329efbdb3efc26985acb2f1849f57861b0 /lib/classifier.h
parentde6a71659a2a7d36610110962307feb4af9c4cdc (diff)
downloadopenvswitch-68d1c8c3c3de2f2dc093901d4d83567a37375bc4.tar.gz
classifier: New function cls_rule_to_string().
This may be useful for debugging. From Jean Tourrilhes <jt@hpl.hp.com>.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r--lib/classifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/classifier.h b/lib/classifier.h
index 194b04e6b..14fd70792 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -123,6 +123,7 @@ void cls_rule_from_flow(struct cls_rule *, const flow_t *, uint32_t wildcards,
unsigned int priority);
void cls_rule_from_match(struct cls_rule *, const struct ofp_match *,
unsigned int priority);
+char *cls_rule_to_string(const struct cls_rule *);
void cls_rule_print(const struct cls_rule *);
void cls_rule_moved(struct classifier *,
struct cls_rule *old, struct cls_rule *new);