summaryrefslogtreecommitdiffstats
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorTobias Jungel <Tobias.Jungel@gmail.com>2018-11-02 02:31:20 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-02 02:31:20 +0100
commit99f68ef02d1e136457c2b0fd1a375050ff965af3 (patch)
treee820715240042c1671f0ca30ef7ed271e3e806ad /src/basic/missing.h
parentMerge pull request #10607 from yuwata/fix-10605 (diff)
downloadsystemd-99f68ef02d1e136457c2b0fd1a375050ff965af3.tar.xz
systemd-99f68ef02d1e136457c2b0fd1a375050ff965af3.zip
networkd: add missing bonding options (#10542)
Add support for bonding options system prio, port key and actor system mac. These options exist in the linux kernel since 4.2 (torvalds/linux@171a42c38c6e1) Details: https://www.kernel.org/doc/Documentation/networking/bonding.txt
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 648a2b92d9..d671202551 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -752,7 +752,7 @@ struct input_mask {
#define IFLA_MAX (__IFLA_MAX - 1)
#endif
-#if !HAVE_IFLA_BOND_AD_INFO
+#if !HAVE_IFLA_BOND_AD_ACTOR_SYSTEM
#define IFLA_BOND_UNSPEC 0
#define IFLA_BOND_MODE 1
#define IFLA_BOND_ACTIVE_SLAVE 2
@@ -777,7 +777,10 @@ struct input_mask {
#define IFLA_BOND_AD_LACP_RATE 21
#define IFLA_BOND_AD_SELECT 22
#define IFLA_BOND_AD_INFO 23
-#define __IFLA_BOND_MAX 24
+#define IFLA_BOND_AD_ACTOR_SYS_PRIO 24
+#define IFLA_BOND_AD_USER_PORT_KEY 25
+#define IFLA_BOND_AD_ACTOR_SYSTEM 26
+#define __IFLA_BOND_MAX 27
#define IFLA_BOND_MAX (__IFLA_BOND_MAX - 1)
#endif