chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
035d56d
)
missing: add missing bonding definitions
author
Lennart Poettering
<lennart@poettering.net>
Fri, 1 Aug 2014 16:55:56 +0000
(18:55 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 1 Aug 2014 16:55:56 +0000
(18:55 +0200)
src/shared/missing.h
patch
|
blob
|
history
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