summaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorBen Kelly <ben@benjii.net>2016-11-14 00:30:39 +1100
committerSimon Horman <simon.horman@netronome.com>2016-11-22 14:38:38 +0100
commitc005f976c17e0fcdc4b84a82c94adc88c9b01ab2 (patch)
tree489e9c62aa01fe3016c043ab50807fbd3cd2334b /ofproto/ofproto.h
parentced947ae5d1b9678930b11233b9716ddcb84666a (diff)
downloadopenvswitch-c005f976c17e0fcdc4b84a82c94adc88c9b01ab2.tar.gz
ofproto: Add protected property to bundle
Propagate the protected mode setting from port to xbundle, so that ofproto* can make decisions. Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index d813fdaf4..9df1a87e6 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -405,6 +405,8 @@ struct ofproto_bundle_settings {
struct lacp_settings *lacp; /* Nonnull to enable LACP. */
struct lacp_slave_settings *lacp_slaves; /* Array of n_slaves elements. */
+
+ bool protected; /* Protected port mode */
};
int ofproto_bundle_register(struct ofproto *, void *aux,