openflow: Move enums for "packet_out" and "flow_mod" to common header.
[sliver-openvswitch.git] / include / openflow / openflow-common.h
index 3dc76cc..9788af1 100644 (file)
@@ -103,6 +103,10 @@ enum ofp_type {
     OFPT_PACKET_IN,           /* Async message */
     OFPT_FLOW_REMOVED,        /* Async message */
     OFPT_PORT_STATUS,         /* Async message */
+
+    /* Controller command messages. */
+    OFPT_PACKET_OUT,          /* Controller/switch message */
+    OFPT_FLOW_MOD,            /* Controller/switch message */
 };
 
 /* Header on all OpenFlow packets. */