summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2014-12-09 01:04:19 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-10 02:24:47 +0300
commitfc0bdbbc67c9f7307d41f415abb1165778fe803f (patch)
treede1bf39fb6d050ceaea2fb4eea84f23195a16bc5 /include/uapi
parentb5f185f33d0432cef6ff78765e033dfa8f4de068 (diff)
downloadlinux-fc0bdbbc67c9f7307d41f415abb1165778fe803f.tar.xz
bridge: new mode flag to indicate mode 'undefined'
This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not needed. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/if_bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
index 296a556454e3..05f08695c6c9 100644
--- a/include/uapi/linux/if_bridge.h
+++ b/include/uapi/linux/if_bridge.h
@@ -106,6 +106,7 @@ struct __fdb_entry {
#define BRIDGE_MODE_VEB 0 /* Default loopback mode */
#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */
#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */
+#define BRIDGE_MODE_UNDEF 0xFFFF /* mode undefined */
/* Bridge management nested attributes
* [IFLA_AF_SPEC] = {