git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rule_ofpacts: keep datapath meter_id.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-provider.h
diff --git
a/ofproto/ofproto-provider.h
b/ofproto/ofproto-provider.h
index
bc3f966
..
03b19c8
100644
(file)
--- a/
ofproto/ofproto-provider.h
+++ b/
ofproto/ofproto-provider.h
@@
-415,10
+415,11
@@
struct rule_actions {
* lifetime. */
struct ofpact *ofpacts; /* Sequence of "struct ofpacts". */
unsigned int ofpacts_len; /* Size of 'ofpacts', in bytes. */
* lifetime. */
struct ofpact *ofpacts; /* Sequence of "struct ofpacts". */
unsigned int ofpacts_len; /* Size of 'ofpacts', in bytes. */
- uint32_t
meter_id; /* Non-zero OF meter_id, or zero
. */
+ uint32_t
provider_meter_id; /* Datapath meter_id, or UINT32_MAX
. */
};
};
-struct rule_actions *rule_actions_create(const struct ofpact *, size_t);
+struct rule_actions *rule_actions_create(const struct ofproto *,
+ const struct ofpact *, size_t);
void rule_actions_ref(struct rule_actions *);
void rule_actions_unref(struct rule_actions *);
void rule_actions_ref(struct rule_actions *);
void rule_actions_unref(struct rule_actions *);