diff options
author | Florian Westphal <fw@strlen.de> | 2009-06-05 13:24:24 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-06-05 13:24:24 +0200 |
commit | 10662aa3083f869c645cc2abf5d66849001e2f5d (patch) | |
tree | 7b4e96f00c3c4d5ca922901266121236eb2bd56e /include | |
parent | 61f5abcab152cbee3a041f8b9bcfe7afc83409ca (diff) | |
download | op-kernel-dev-10662aa3083f869c645cc2abf5d66849001e2f5d.zip op-kernel-dev-10662aa3083f869c645cc2abf5d66849001e2f5d.tar.gz |
netfilter: xt_NFQUEUE: queue balancing support
Adds support for specifying a range of queues instead of a single queue
id. Flows will be distributed across the given range.
This is useful for multicore systems: Instead of having a single
application read packets from a queue, start multiple
instances on queues x, x+1, .. x+n. Each instance can process
flows independently.
Packets for the same connection are put into the same queue.
Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_NFQUEUE.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_NFQUEUE.h b/include/linux/netfilter/xt_NFQUEUE.h index 982a89f..2584f4a 100644 --- a/include/linux/netfilter/xt_NFQUEUE.h +++ b/include/linux/netfilter/xt_NFQUEUE.h @@ -15,4 +15,9 @@ struct xt_NFQ_info { __u16 queuenum; }; +struct xt_NFQ_info_v1 { + __u16 queuenum; + __u16 queues_total; +}; + #endif /* _XT_NFQ_TARGET_H */ |