path: root/include
diff options
authorFlorian Westphal <>2009-08-20 16:39:05 +0200
committerPatrick McHardy <>2009-08-20 16:39:05 +0200
commit4282d89a798adcf50973a22c5a17563b5e9421cb (patch)
tree0b5584148fd644a623f0e3420aeb200d0e6efff7 /include
parent8e4dacaed17701cb1891b962bb856e0e8cfbb5c8 (diff)
libxt_NFQUEUE: add new v1 version with queue-balance option
New version that adds support for specifying a queue range instead of a single queue id. The kernel will distribute flows across the given queue range. This is useful for multicore systems, simply start multiple instances of the userspace program on queues x, x+1, .. x+n and use "--queue-balance x:x+n". Packets belonging to the same connection are put into the same queue. With fixes from Jan Engelhardt. Signed-off-by: Florian Westphal <> Signed-off-by: Patrick McHardy <>
Diffstat (limited to 'include')
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_NFQUEUE.h b/include/linux/netfilter/xt_NFQUEUE.h
index 9a9af79f..ab6d62bd 100644
--- a/include/linux/netfilter/xt_NFQUEUE.h
+++ b/include/linux/netfilter/xt_NFQUEUE.h
@@ -13,4 +13,9 @@ struct xt_NFQ_info {
u_int16_t queuenum;
+struct xt_NFQ_info_v1 {
+ u_int16_t queuenum;
+ u_int16_t queues_total;
#endif /* _XT_NFQ_TARGET_H */