X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flearning-switch.h;h=b3a5d13ea718920b493ede613084bc17f4efb22b;hb=HEAD;hp=dcfb5a270b69ea3108df6a143cf6d3b8bad49229;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;p=sliver-openvswitch.git diff --git a/lib/learning-switch.h b/lib/learning-switch.h index dcfb5a270..b3a5d13ea 100644 --- a/lib/learning-switch.h +++ b/lib/learning-switch.h @@ -20,6 +20,7 @@ #include #include #include +#include "ofp-util.h" 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; + enum ofputil_protocol usable_protocols; /* The OpenFlow queue to use by default. Use UINT32_MAX to avoid * specifying a particular queue. */