2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

ofp-util: Rename struct flow_mod to struct ofputil_flow_mod.

Most of the structs in ofp-util.h have the ofputil_ prefix.  Rename this
one for consistency.
This commit is contained in:
Ben Pfaff
2011-08-08 14:46:38 -07:00
parent be86ea7aa9
commit a9a2da3894
7 changed files with 27 additions and 26 deletions

View File

@@ -122,7 +122,7 @@ struct ofpbuf *ofputil_make_set_flow_format(enum nx_flow_format);
struct ofpbuf *ofputil_make_flow_mod_table_id(bool flow_mod_table_id);
/* Flow format independent flow_mod. */
struct flow_mod {
struct ofputil_flow_mod {
struct cls_rule cr;
ovs_be64 cookie;
uint8_t table_id;
@@ -136,9 +136,9 @@ struct flow_mod {
size_t n_actions;
};
int ofputil_decode_flow_mod(struct flow_mod *, const struct ofp_header *,
bool flow_mod_table_id);
struct ofpbuf *ofputil_encode_flow_mod(const struct flow_mod *,
int ofputil_decode_flow_mod(struct ofputil_flow_mod *,
const struct ofp_header *, bool flow_mod_table_id);
struct ofpbuf *ofputil_encode_flow_mod(const struct ofputil_flow_mod *,
enum nx_flow_format,
bool flow_mod_table_id);