History

bridge: new mode flag to indicate mode 'undefined'

This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not needed.

Roopa Prabhu committed 11 years ago

Commit fc0bdbb1 parent b5f185f1 file · +1 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/if_bridge.h+1−0
@@ -106,6 +106,7 @@ struct __fdb_entry { · 105 unmodified lines
106#define BRIDGE_MODE_VEB 0 /* Default loopback mode */106#define BRIDGE_MODE_VEB 0 /* Default loopback mode */
107#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */107#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */
108#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */108#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */
109#define BRIDGE_MODE_UNDEF 0xFFFF /* mode undefined */
109 110
110/* Bridge management nested attributes111/* Bridge management nested attributes
111 * [IFLA_AF_SPEC] = {112 * [IFLA_AF_SPEC] = {