OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / prebuilt / ndk / android-ndk-r4 / platforms / android-8 / arch-x86 / usr / include / linux / netfilter.h
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  ****************************************************************************
11  ****************************************************************************/
12 #ifndef __LINUX_NETFILTER_H
13 #define __LINUX_NETFILTER_H
14
15 #include <linux/compiler.h>
16
17 #define NF_DROP 0
18 #define NF_ACCEPT 1
19 #define NF_STOLEN 2
20 #define NF_QUEUE 3
21 #define NF_REPEAT 4
22 #define NF_STOP 5
23 #define NF_MAX_VERDICT NF_STOP
24
25 #define NF_VERDICT_MASK 0x0000ffff
26 #define NF_VERDICT_BITS 16
27
28 #define NF_VERDICT_QMASK 0xffff0000
29 #define NF_VERDICT_QBITS 16
30
31 #define NF_QUEUE_NR(x) (((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK) | NF_QUEUE)
32
33 #define NFC_UNKNOWN 0x4000
34 #define NFC_ALTERED 0x8000
35
36 #endif