--- ofproto/ofproto.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 45dec07..d35e1d8 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -136,7 +136,8 @@ static void ofproto_rule_send_removed(struct rule *, uint8_t reason); static void ofopgroup_destroy(struct ofopgroup *); static int add_flow(struct ofproto *, struct ofconn *, - struct ofputil_flow_mod *, const struct ofp_header *); + const struct ofputil_flow_mod *, + const struct ofp_header *); /* This return value tells handle_openflow() that processing of the current * OpenFlow message must be postponed until some ongoing operations have @@ -2177,7 +2178,7 @@ is_flow_deletion_pending(const struct ofproto *ofproto, * if any. */ static int add_flow(struct ofproto *ofproto, struct ofconn *ofconn, - struct ofputil_flow_mod *fm, const struct ofp_header *request) + const struct ofputil_flow_mod *fm, const struct ofp_header *request) { struct classifier *table; struct ofopgroup *group; @@ -2310,7 +2311,7 @@ modify_flows__(struct ofproto *ofproto, struct ofconn *ofconn, * if any. */ static int modify_flows_loose(struct ofproto *ofproto, struct ofconn *ofconn, - struct ofputil_flow_mod *fm, + const struct ofputil_flow_mod *fm, const struct ofp_header *request) { struct list rules; @@ -2330,7 +2331,7 @@ modify_flows_loose(struct ofproto *ofproto, struct ofconn *ofconn, * if any. */ static int modify_flow_strict(struct ofproto *ofproto, struct ofconn *ofconn, - struct ofputil_flow_mod *fm, + const struct ofputil_flow_mod *fm, const struct ofp_header *request) { struct list rules; @@ -2390,7 +2391,7 @@ delete_flows_loose(struct ofproto *ofproto, struct ofconn *ofconn, /* Implements OFPFC_DELETE_STRICT. */ static int delete_flow_strict(struct ofproto *ofproto, struct ofconn *ofconn, - struct ofputil_flow_mod *fm, + const struct ofputil_flow_mod *fm, const struct ofp_header *request) { struct list rules; -- 1.7.4.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev