aboutsummaryrefslogtreecommitdiff
path: root/ofproto/connmgr.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-02-15 16:33:04 -0800
committerBen Pfaff <blp@nicira.com>2012-03-07 14:05:11 -0800
commit9e1fd49b0cf494315c82f27c651486ef82e83446 (patch)
tree088387523b456152f245911f9dd1f29ddc048b29 /ofproto/connmgr.h
parent08f94c0e1a47518e73f954af8f61eb0df31ac8bd (diff)
Abstract everything that uses ofp_phy_port, add OF1.1 support.
Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/connmgr.h')
-rw-r--r--ofproto/connmgr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index 14698aba..2869ba78 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -29,6 +29,7 @@ struct ofconn;
struct ofopgroup;
struct ofputil_flow_removed;
struct ofputil_packet_in;
+struct ofputil_phy_port;
struct sset;
/* ofproto supports two kinds of OpenFlow connections:
@@ -123,8 +124,8 @@ void ofconn_remove_opgroup(struct ofconn *, struct list *,
const struct ofp_header *request, int error);
/* Sending asynchronous messages. */
-void connmgr_send_port_status(struct connmgr *, const struct ofp_phy_port *,
- uint8_t reason);
+void connmgr_send_port_status(struct connmgr *,
+ const struct ofputil_phy_port *, uint8_t reason);
void connmgr_send_flow_removed(struct connmgr *,
const struct ofputil_flow_removed *);
void connmgr_send_packet_in(struct connmgr *, const struct ofputil_packet_in *,