Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2/* iptables module for using NFQUEUE mechanism
3 *
4 * (C) 2005 Harald Welte <laforge@netfilter.org>
5 *
6 * This software is distributed under GNU GPL v2, 1991
7 *
8*/
9#ifndef _XT_NFQ_TARGET_H
10#define _XT_NFQ_TARGET_H
11
12#include <linux/types.h>
13
14/* target info */
15struct xt_NFQ_info {
16 __u16 queuenum;
17};
18
19struct xt_NFQ_info_v1 {
20 __u16 queuenum;
21 __u16 queues_total;
22};
23
24struct xt_NFQ_info_v2 {
25 __u16 queuenum;
26 __u16 queues_total;
27 __u16 bypass;
28};
29
30struct xt_NFQ_info_v3 {
31 __u16 queuenum;
32 __u16 queues_total;
33 __u16 flags;
34#define NFQ_FLAG_BYPASS 0x01 /* for compatibility with v2 */
35#define NFQ_FLAG_CPU_FANOUT 0x02 /* use current CPU (no hashing) */
36#define NFQ_FLAG_MASK 0x03
37};
38
39#endif /* _XT_NFQ_TARGET_H */
40

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/uapi/linux/netfilter/xt_NFQUEUE.h