Implement OFPT_HELLO simple version negotiation.
[sliver-openvswitch.git] / include / vconn-provider.h
index f7c47e8..a33fa49 100644 (file)
 #include <assert.h>
 #include "vconn.h"
 \f
+/* Active virtual connection to an OpenFlow device. */
+
 /* Active virtual connection to an OpenFlow device.
  *
  * This structure should be treated as opaque by vconn implementations. */
 struct vconn {
     struct vconn_class *class;
-    int connect_status;
+    int state;
+    int error;
+    int min_version;
+    int version;
     uint32_t ip;
     char *name;
 };