git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
openflow: Add enum ofp_version
[sliver-openvswitch.git]
/
lib
/
vconn-provider.h
diff --git
a/lib/vconn-provider.h
b/lib/vconn-provider.h
index
2940852
..
54ec2e6
100644
(file)
--- a/
lib/vconn-provider.h
+++ b/
lib/vconn-provider.h
@@
-22,6
+22,7
@@
#include <assert.h>
#include "vconn.h"
#include <assert.h>
#include "vconn.h"
+#include "openflow/openflow-common.h"
\f
/* Active virtual connection to an OpenFlow device. */
\f
/* Active virtual connection to an OpenFlow device. */
@@
-32,8
+33,8
@@
struct vconn {
struct vconn_class *class;
int state;
int error;
struct vconn_class *class;
int state;
int error;
-
int
min_version;
-
int
version;
+
enum ofp_version
min_version;
+
enum ofp_version
version;
ovs_be32 remote_ip;
ovs_be16 remote_port;
ovs_be32 local_ip;
ovs_be32 remote_ip;
ovs_be16 remote_port;
ovs_be32 local_ip;