aboutsummaryrefslogtreecommitdiff
path: root/lib/nx-match.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-01-03 13:30:45 -0800
committerEthan Jackson <ethan@nicira.com>2012-01-10 14:30:15 -0800
commit102ce76655b4f99f7e3697011ca983c617a9f5ee (patch)
treec5a160adbcfe2a0b15d69f03efc9a64167a5e44c /lib/nx-match.h
parent5d6c3af0fbff6c67f36c34f6e4c885f54de1bfe3 (diff)
nx-match: New function nx_pull_match_loose().
Future patches will need the ability to skip over unsupported NXM headers. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/nx-match.h')
-rw-r--r--lib/nx-match.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/nx-match.h b/lib/nx-match.h
index c7ee0f8d..8931d58a 100644
--- a/lib/nx-match.h
+++ b/lib/nx-match.h
@@ -36,6 +36,9 @@ struct nx_action_reg_move;
int nx_pull_match(struct ofpbuf *, unsigned int match_len, uint16_t priority,
struct cls_rule *, ovs_be64 *cookie, ovs_be64 *cookie_mask);
+int nx_pull_match_loose(struct ofpbuf *, unsigned int match_len,
+ uint16_t priority, struct cls_rule *,
+ ovs_be64 *cookie, ovs_be64 *cookie_mask);
int nx_put_match(struct ofpbuf *, const struct cls_rule *,
ovs_be64 cookie, ovs_be64 cookie_mask);