summaryrefslogtreecommitdiff
path: root/lib/ofp-parse.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-04 09:52:37 -0700
committerBen Pfaff <blp@nicira.com>2012-05-07 11:23:31 -0700
commitccbe50f8f61ac944eb965f67c570d79b6724c9cf (patch)
tree02a97f1047c11117fdfb1d8fe9ff6a888d9d7d5f /lib/ofp-parse.h
parent33cadc5034cda0c9a0bcd59fbec146784387ee1f (diff)
downloadopenvswitch-ccbe50f8f61ac944eb965f67c570d79b6724c9cf.tar.gz
ofp-parse: New function parse_ofp_exact_flow().
This function parses a flow rather than a cls_rule. It will be useful for "ofproto/trace", which currently requires an odp_flow and thus can't accept values for registers and other concepts that don't exist in the kernel. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-parse.h')
-rw-r--r--lib/ofp-parse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ofp-parse.h b/lib/ofp-parse.h
index 5a50d9498..3e5e62a60 100644
--- a/lib/ofp-parse.h
+++ b/lib/ofp-parse.h
@@ -23,6 +23,7 @@
#include <stdint.h>
#include <stdio.h>
+struct flow;
struct ofpbuf;
struct ofputil_flow_mod;
struct ofputil_flow_stats_request;
@@ -41,4 +42,6 @@ void parse_ofp_flow_stats_request_str(struct ofputil_flow_stats_request *,
void parse_ofp_actions(const char *, struct ofpbuf *actions);
+char *parse_ofp_exact_flow(struct flow *, const char *);
+
#endif /* ofp-parse.h */