chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
missing: add missing bonding definitions
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index 083b85a26cbebebb2f7e4b01385e305adc5cb0be..d54cc1efe2276be4edd3ab60c837a591539cc526 100644
(file)
--- 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