mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofproto: Move function find_meter() into ofpacts as ofpacts_get_meter().
ofproto is too big anyway so we might as well move out code that can reasonably live elsewhere. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -530,6 +530,7 @@ bool ofpacts_output_to_group(const struct ofpact[], size_t ofpacts_len,
|
||||
uint32_t group_id);
|
||||
bool ofpacts_equal(const struct ofpact a[], size_t a_len,
|
||||
const struct ofpact b[], size_t b_len);
|
||||
uint32_t ofpacts_get_meter(const struct ofpact[], size_t ofpacts_len);
|
||||
|
||||
/* Formatting ofpacts.
|
||||
*
|
||||
|
Reference in New Issue
Block a user