summaryrefslogtreecommitdiff
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-05 22:44:38 +0200
committerTom Gundersen <teg@jklm.no>2015-10-05 22:44:38 +0200
commitdc545f8331333476ba3b08c677e44b565ad1c738 (patch)
treea7efef2e0c0708d5932228a1d8aad4b50cd97e72 /src/basic/missing.h
parent2b22ffaf600df7f775ce6a7fdf4a470f04f8e75d (diff)
parent3428fe07f0fc639d2e07297f0c4a2392c9bb2a68 (diff)
Merge pull request #1459 from ssahani/bridge1
networkd: add bridge properties
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 9811b6b23e..1e3af283bb 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -842,6 +842,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