aboutsummaryrefslogtreecommitdiff
path: root/ofproto/connmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ofproto/connmgr.h')
-rw-r--r--ofproto/connmgr.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index 505a757e..4846da9c 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -22,6 +22,7 @@
#include "list.h"
#include "match.h"
#include "ofp-errors.h"
+#include "ofp-util.h"
#include "ofproto.h"
#include "openflow/nicira-ext.h"
#include "openvswitch/types.h"
@@ -29,9 +30,6 @@
struct nlattr;
struct ofconn;
struct ofopgroup;
-struct ofputil_flow_removed;
-struct ofputil_packet_in;
-struct ofputil_phy_port;
struct rule;
struct simap;
struct sset;
@@ -64,6 +62,12 @@ enum ofconn_async_msg_type {
OAM_N_TYPES
};
+/* A packet_in, with extra members to assist in queuing and routing it. */
+struct ofproto_packet_in {
+ struct ofputil_packet_in up;
+ struct list list_node; /* For queuing. */
+};
+
/* Basics. */
struct connmgr *connmgr_create(struct ofproto *ofproto,
const char *dpif_name, const char *local_name);
@@ -141,7 +145,7 @@ void connmgr_send_port_status(struct connmgr *,
void connmgr_send_flow_removed(struct connmgr *,
const struct ofputil_flow_removed *);
void connmgr_send_packet_in(struct connmgr *,
- const struct ofputil_packet_in *);
+ const struct ofproto_packet_in *);
/* Fail-open settings. */
enum ofproto_fail_mode connmgr_get_fail_mode(const struct connmgr *);