chiark / gitweb /
missing: add missing bonding definitions
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Aug 2014 16:55:56 +0000 (18:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Aug 2014 16:55:56 +0000 (18:55 +0200)
src/shared/missing.h

index 083b85a..d54cc1e 100644 (file)
@@ -511,3 +511,11 @@ static inline int setns(int fd, int nstype) {
 #ifndef IFF_DORMANT
 #define IFF_DORMANT 0x20000
 #endif
+
+#ifndef BOND_XMIT_POLICY_ENCAP23
+#define BOND_XMIT_POLICY_ENCAP23 3
+#endif
+
+#ifndef BOND_XMIT_POLICY_ENCAP34
+#define BOND_XMIT_POLICY_ENCAP34 4
+#endif