1 #ifndef __LINUX_NETFILTER_H
2 #define __LINUX_NETFILTER_H
5 /* Responses from hook functions. */
12 #define NF_MAX_VERDICT NF_STOP
14 /* we overload the higher bits for encoding auxiliary data such as the queue
15 * number. Not nice, but better than additional function arguments. */
16 #define NF_VERDICT_MASK 0x0000ffff
17 #define NF_VERDICT_BITS 16
19 #define NF_VERDICT_QMASK 0xffff0000
20 #define NF_VERDICT_QBITS 16
22 #define NF_QUEUE_NR(x) ((((x) << NF_VERDICT_BITS) & NF_VERDICT_QMASK) | NF_QUEUE)
24 /* only for userspace compatibility */
25 /* Generic cache responses from hook functions.
26 <= 0x2000 is used for protocol-flags. */
27 #define NFC_UNKNOWN 0x4000
28 #define NFC_ALTERED 0x8000
47 #endif /*__LINUX_NETFILTER_H*/