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
dpif-linux: Factor out port dumping helper functions.
[sliver-openvswitch.git]
/
lib
/
learning-switch.h
diff --git
a/lib/learning-switch.h
b/lib/learning-switch.h
index
dcfb5a2
..
b3a5d13
100644
(file)
--- a/
lib/learning-switch.h
+++ b/
lib/learning-switch.h
@@
-20,6
+20,7
@@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+#include "ofp-util.h"
struct ofpbuf;
struct rconn;
struct ofpbuf;
struct rconn;
@@
-50,6
+51,7
@@
struct lswitch_config {
* to set up the flow table. */
const struct ofputil_flow_mod *default_flows;
size_t n_default_flows;
* to set up the flow table. */
const struct ofputil_flow_mod *default_flows;
size_t n_default_flows;
+ enum ofputil_protocol usable_protocols;
/* The OpenFlow queue to use by default. Use UINT32_MAX to avoid
* specifying a particular queue. */
/* The OpenFlow queue to use by default. Use UINT32_MAX to avoid
* specifying a particular queue. */