diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-08 14:46:38 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-09 13:53:21 -0700 |
| commit | a9a2da38941ea4d312559543a3fb813d8fe7fd4e (patch) | |
| tree | 1bf04d027bcb62b1f7234dc8b1d1ed75e28556fa /lib/ofp-parse.c | |
| parent | be86ea7aa98b87079e266c91d139612fa8543edd (diff) | |
| download | openvswitch-a9a2da38941ea4d312559543a3fb813d8fe7fd4e.tar.gz | |
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.
Diffstat (limited to 'lib/ofp-parse.c')
| -rw-r--r-- | lib/ofp-parse.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index c171293c7..f0e715501 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -836,7 +836,8 @@ parse_reg_value(struct cls_rule *rule, int reg_idx, const char *value) * constant for 'command'. To parse syntax for an OFPST_FLOW or * OFPST_AGGREGATE (or NXST_FLOW or NXST_AGGREGATE), use -1 for 'command'. */ void -parse_ofp_str(struct flow_mod *fm, int command, const char *str_, bool verbose) +parse_ofp_str(struct ofputil_flow_mod *fm, int command, const char *str_, + bool verbose) { enum { F_OUT_PORT = 1 << 0, @@ -1007,7 +1008,7 @@ parse_ofp_flow_mod_str(struct list *packets, enum nx_flow_format *cur_format, struct cls_rule rule_copy; struct ofpbuf actions; struct ofpbuf *ofm; - struct flow_mod fm; + struct ofputil_flow_mod fm; ofpbuf_init(&actions, 64); parse_ofp_str(&fm, command, string, verbose); @@ -1064,7 +1065,7 @@ void parse_ofp_flow_stats_request_str(struct flow_stats_request *fsr, bool aggregate, char *string) { - struct flow_mod fm; + struct ofputil_flow_mod fm; parse_ofp_str(&fm, -1, string, false); fsr->aggregate = aggregate; |
