diff options
author | Justin Pettit <jpettit@nicira.com> | 2011-12-23 12:23:24 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-12-27 21:09:51 -0800 |
commit | e729e7935e5c77eae1ca4a8040d05626f61cf9a2 (patch) | |
tree | 81813662f43568df2cc90f16eb02233b999a2e6e /lib/nx-match.h | |
parent | a8600e1a65b10c7e6b8ca94d18482f50ba27a873 (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.h | 5 |
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 *); |