chiark / gitweb /
missing: add missing bonding definitions
[elogind.git] / src / shared / missing.h
index f4378a36b118c1941d92d6ff4669d596f6ebd6a9..d54cc1efe2276be4edd3ab60c837a591539cc526 100644 (file)
@@ -503,3 +503,19 @@ static inline int setns(int fd, int nstype) {
 #ifndef IPV6_UNICAST_IF
 #define IPV6_UNICAST_IF 76
 #endif
+
+#ifndef IFF_LOWER_UP
+#define IFF_LOWER_UP 0x10000
+#endif
+
+#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