chiark / gitweb /
missing: add IFF_MULTI_QUEUE
[elogind.git] / src / shared / missing.h
index a9dd2742745372c72cd14a9ff298419d3a909183..023c680ec66dfb97ccb016b2122a5de3507b51c6 100644 (file)
@@ -558,6 +558,10 @@ static inline int setns(int fd, int nstype) {
 #define IPV6_UNICAST_IF 76
 #endif
 
+#ifndef IFF_MULTI_QUEUE
+#define IFF_MULTI_QUEUE 0x100
+#endif
+
 #ifndef IFF_LOWER_UP
 #define IFF_LOWER_UP 0x10000
 #endif
@@ -593,3 +597,7 @@ static inline int setns(int fd, int nstype) {
 #ifndef NET_NAME_RENAMED
 #  define NET_NAME_RENAMED 4
 #endif
+
+#ifndef BPF_XOR
+#  define BPF_XOR 0xa0
+#endif