hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/include/uapi/linux/netfilter.h
....@@ -34,10 +34,6 @@
3434
3535 /* only for userspace compatibility */
3636 #ifndef __KERNEL__
37
-/* Generic cache responses from hook functions.
38
- <= 0x2000 is used for protocol-flags. */
39
-#define NFC_UNKNOWN 0x4000
40
-#define NFC_ALTERED 0x8000
4137
4238 /* NF_VERDICT_BITS should be 8 now, but userspace might break if this changes */
4339 #define NF_VERDICT_BITS 16
....@@ -49,7 +45,8 @@
4945 NF_INET_FORWARD,
5046 NF_INET_LOCAL_OUT,
5147 NF_INET_POST_ROUTING,
52
- NF_INET_NUMHOOKS
48
+ NF_INET_NUMHOOKS,
49
+ NF_INET_INGRESS = NF_INET_NUMHOOKS,
5350 };
5451
5552 enum nf_dev_hooks {