libxt_NFQUEUE: add new v1 version with queue-balance option
commit4282d89a798adcf50973a22c5a17563b5e9421cb
authorFlorian Westphal <fwestphal@astaro.com>
Thu, 20 Aug 2009 14:39:05 +0000 (20 16:39 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 20 Aug 2009 14:39:05 +0000 (20 16:39 +0200)
tree0b5584148fd644a623f0e3420aeb200d0e6efff7
parent8e4dacaed17701cb1891b962bb856e0e8cfbb5c8
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 <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
extensions/libxt_NFQUEUE.c
extensions/libxt_NFQUEUE.man
include/linux/netfilter/xt_NFQUEUE.h