aboutsummaryrefslogtreecommitdiff
path: root/lib/nx-match.h
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-12-23 12:23:24 -0800
committerJustin Pettit <jpettit@nicira.com>2011-12-27 21:09:51 -0800
commite729e7935e5c77eae1ca4a8040d05626f61cf9a2 (patch)
tree81813662f43568df2cc90f16eb02233b999a2e6e /lib/nx-match.h
parenta8600e1a65b10c7e6b8ca94d18482f50ba27a873 (diff)
Add ability to restrict flow mods and flow stats requests to cookies.
With this commit, it is possible to limit flow deletions and modifications to specific cookies. It also provides the ability to dump flows based on their cookies. Signed-off-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'lib/nx-match.h')
-rw-r--r--lib/nx-match.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/nx-match.h b/lib/nx-match.h
index faeacd6c..c7ee0f8d 100644
--- a/lib/nx-match.h
+++ b/lib/nx-match.h
@@ -35,8 +35,9 @@ struct nx_action_reg_move;
*/
int nx_pull_match(struct ofpbuf *, unsigned int match_len, uint16_t priority,
- struct cls_rule *);
-int nx_put_match(struct ofpbuf *, const struct cls_rule *);
+ 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);
char *nx_match_to_string(const uint8_t *, unsigned int match_len);
int nx_match_from_string(const char *, struct ofpbuf *);