X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-provider.h;h=03b19c84c97be104c5e87f4f4141d4334f157bc0;hb=65efd2ab94a33555234449688f27b12d9ec3fd04;hp=bc3f9661086c196aa204432e960029325f4f7345;hpb=e555eb7c38c38b170c165b2e4b9cd222f0fd20e8;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index bc3f96610..03b19c84c 100644 --- 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. */ - 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 *);