]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing.h : add bridge params
authorSusant Sahani <ssahani@gmail.com>
Mon, 5 Oct 2015 04:05:36 +0000 (09:35 +0530)
committerSusant Sahani <ssahani@gmail.com>
Mon, 5 Oct 2015 04:13:29 +0000 (09:43 +0530)
configure.ac
src/basic/missing.h

index d75a02623bc63f43a7795ab5d1a524b7aa5e379b..aabb5e4fe48680889565355d43f87584316b6baf 100644 (file)
@@ -321,6 +321,7 @@ AC_CHECK_DECLS([IFLA_INET6_ADDR_GEN_MODE,
                 IFLA_GRE_ENCAP_DPORT,
                 IFLA_BRIDGE_VLAN_INFO,
                 IFLA_BRPORT_LEARNING_SYNC,
+                IFLA_BR_PRIORITY,
                 NDA_IFINDEX,
                 IFA_FLAGS],
 [], [], [[
index 9811b6b23e4e7b6fe930a4f6722412614158252a..1e3af283bb3496e5b819cf5f12f235ed550aa6ab 100644 (file)
@@ -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