xt_NFQUEUE.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _XT_NFQ_TARGET_H
20#define _XT_NFQ_TARGET_H
21#include <linux/types.h>
22struct xt_NFQ_info {
23  __u16 queuenum;
24};
25struct xt_NFQ_info_v1 {
26  __u16 queuenum;
27  __u16 queues_total;
28};
29struct xt_NFQ_info_v2 {
30  __u16 queuenum;
31  __u16 queues_total;
32  __u16 bypass;
33};
34struct xt_NFQ_info_v3 {
35  __u16 queuenum;
36  __u16 queues_total;
37  __u16 flags;
38#define NFQ_FLAG_BYPASS 0x01
39#define NFQ_FLAG_CPU_FANOUT 0x02
40#define NFQ_FLAG_MASK 0x03
41};
42#endif
43