diff options
author | Florian Westphal <fw@strlen.de> | 2011-01-20 11:27:42 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-01-20 11:27:42 +0100 |
commit | 6924b4987d88fbe383bec4da4cf331cc466c245e (patch) | |
tree | 50a7d9b960c195687ab427910f5cd2f79014da43 /include | |
parent | 773438bd93851dc1a9129a638925c04868820297 (diff) |
extensions: libxt_NFQUEUE: add v2 revision with --queue-bypass option
--queue-bypass: if no userpace program is listening on the queue, then
allow packets to continue through the ruleset instead of dropping them.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_NFQUEUE.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_NFQUEUE.h b/include/linux/netfilter/xt_NFQUEUE.h index 2584f4a7..9eafdbbb 100644 --- a/include/linux/netfilter/xt_NFQUEUE.h +++ b/include/linux/netfilter/xt_NFQUEUE.h @@ -20,4 +20,10 @@ struct xt_NFQ_info_v1 { __u16 queues_total; }; +struct xt_NFQ_info_v2 { + __u16 queuenum; + __u16 queues_total; + __u16 bypass; +}; + #endif /* _XT_NFQ_TARGET_H */ |