summaryrefslogtreecommitdiff
path: root/built_in.h
diff options
context:
space:
mode:
Diffstat (limited to 'built_in.h')
-rw-r--r--built_in.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/built_in.h b/built_in.h
index 20d7317..d7d4b6b 100644
--- a/built_in.h
+++ b/built_in.h
@@ -398,4 +398,12 @@ static inline u64 cpu_to_le64(u64 val)
# define ARPHRD_NETLINK 824
#endif
+#ifndef PACKET_USER
+# define PACKET_USER 6
+#endif
+
+#ifndef PACKET_KERNEL
+# define PACKET_KERNEL 7
+#endif
+
#endif /* BUILT_IN_H */