summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorholger@eitzenberger.org <holger@eitzenberger.org>2013-04-02 00:35:39 +0000
committerPablo Neira Ayuso <pablo@soleta.eu>2013-05-29 19:26:03 +0200
commitce7d0619ce49587ca78456caf467cf25f7cbbc4e (patch)
tree1a3a4669324fc3048c119354c75dd1faf26a6145 /include
parentaef9c366d1761fd2d2013250df699f3dd5a4b708 (diff)
extensions: libxt_NFQUEUE: add --queue-cpu-fanout parameter
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/xt_NFQUEUE.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_NFQUEUE.h b/include/linux/netfilter/xt_NFQUEUE.h
index 9eafdbbb..8bb5fe65 100644
--- a/include/linux/netfilter/xt_NFQUEUE.h
+++ b/include/linux/netfilter/xt_NFQUEUE.h
@@ -26,4 +26,13 @@ struct xt_NFQ_info_v2 {
__u16 bypass;
};
+struct xt_NFQ_info_v3 {
+ __u16 queuenum;
+ __u16 queues_total;
+ __u16 flags;
+#define NFQ_FLAG_BYPASS 0x01 /* for compatibility with v2 */
+#define NFQ_FLAG_CPU_FANOUT 0x02 /* use current CPU (no hashing) */
+#define NFQ_FLAG_MASK 0x03
+};
+
#endif /* _XT_NFQ_TARGET_H */