X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fconnmgr.h;h=170d8721dbe22f296f63ddd917cd12614a6ba1d3;hb=f2e99d5dd4b52339d4e8f35625e4f8bc3d12c2e7;hp=4846da9c842b24f17f1c374bc66b3c05f4f46837;hpb=0fb7792ab3428a28044e53b443388cbc1231035a;p=sliver-openvswitch.git diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 4846da9c8..170d8721d 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -66,6 +66,13 @@ enum ofconn_async_msg_type { struct ofproto_packet_in { struct ofputil_packet_in up; struct list list_node; /* For queuing. */ + uint16_t controller_id; /* Controller ID to send to. */ + int send_len; /* Length that the action requested sending. */ + + /* True if the packet_in was generated directly by a table-miss flow, that + * is, a flow with priority 0 that wildcards all fields. (Our + * interpretation of "directly" is "not via groups".) */ + bool generated_by_table_miss; }; /* Basics. */ @@ -146,6 +153,8 @@ void connmgr_send_flow_removed(struct connmgr *, const struct ofputil_flow_removed *); void connmgr_send_packet_in(struct connmgr *, const struct ofproto_packet_in *); +void ofconn_send_role_status(struct ofconn *ofconn, uint32_t role, + uint8_t reason); /* Fail-open settings. */ enum ofproto_fail_mode connmgr_get_fail_mode(const struct connmgr *);