diff options
author | Susant Sahani <ssahani@gmail.com> | 2015-10-05 09:35:36 +0530 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-29 10:45:10 +0200 |
commit | 3811451c6af28f381d99da7a14843bf30806877a (patch) | |
tree | 8bab22515e55358c0b3ff52ce5c92b0f37c4cb5b | |
parent | a23d0e4eff992a78e4f540fd610db651d4a61bd8 (diff) |
missing.h : add bridge params
-rw-r--r-- | src/basic/missing.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index e18995e87..cad7aa633 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -840,6 +840,19 @@ static inline int setns(int fd, int nstype) { #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) #endif +#if !HAVE_DECL_IFLA_BR_PRIORITY +#define IFLA_BR_UNSPEC 0 +#define IFLA_BR_FORWARD_DELAY 1 +#define IFLA_BR_HELLO_TIME 2 +#define IFLA_BR_MAX_AGE 3 +#define IFLA_BR_AGEING_TIME 4 +#define IFLA_BR_STP_STATE 5 +#define IFLA_BR_PRIORITY 6 +#define __IFLA_BR_MAX 7 + +#define IFLA_BR_MAX (__IFLA_BR_MAX - 1) +#endif + #if !HAVE_DECL_IFLA_BRPORT_LEARNING_SYNC #define IFLA_BRPORT_UNSPEC 0 #define IFLA_BRPORT_STATE 1 |