summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-01 18:55:56 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-01 18:55:56 +0200
commit919881496856e2e474774e6ed2d29c25a48c0ff5 (patch)
treee89ab8ae420359d70cd98f6d34d3c1c85cf6d73f
parent035d56dc32fd1947cd3eafbb55d15aad888e4f34 (diff)
missing: add missing bonding definitions
-rw-r--r--src/shared/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 083b85a26c..d54cc1efe2 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -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