chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a23d0e4
)
missing.h : add bridge params
author
Susant Sahani
<ssahani@gmail.com>
Mon, 5 Oct 2015 04:05:36 +0000
(09:35 +0530)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:10 +0000
(10:45 +0200)
src/basic/missing.h
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index e18995e870bec90a998337582ed595be1baa9678..cad7aa633a5b2e12eb9af7fc99c382678f0c33de 100644
(file)
--- 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
#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
#if !HAVE_DECL_IFLA_BRPORT_LEARNING_SYNC
#define IFLA_BRPORT_UNSPEC 0
#define IFLA_BRPORT_STATE 1