Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1 | /* iptables module for using NFQUEUE mechanism |
| 2 | * |
| 3 | * (C) 2005 Harald Welte <laforge@netfilter.org> |
| 4 | * |
| 5 | * This software is distributed under GNU GPL v2, 1991 |
| 6 | * |
| 7 | */ |
| 8 | #ifndef _XT_NFQ_TARGET_H |
| 9 | #define _XT_NFQ_TARGET_H |
| 10 | |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 11 | #include <linux/types.h> |
| 12 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 13 | /* target info */ |
| 14 | struct xt_NFQ_info { |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 15 | __u16 queuenum; |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 16 | }; |
| 17 | |
Florian Westphal | 10662aa | 2009-06-05 13:24:24 +0200 | [diff] [blame] | 18 | struct xt_NFQ_info_v1 { |
| 19 | __u16 queuenum; |
| 20 | __u16 queues_total; |
| 21 | }; |
| 22 | |
Florian Westphal | 94b27cc | 2011-01-18 16:08:30 +0100 | [diff] [blame] | 23 | struct xt_NFQ_info_v2 { |
| 24 | __u16 queuenum; |
| 25 | __u16 queues_total; |
| 26 | __u16 bypass; |
| 27 | }; |
| 28 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 29 | #endif /* _XT_NFQ_TARGET_H */ |