]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/kernel/common/linux/netfilter.h
Initial Contribution
[android-sdk/platform-bionic.git] / libc / kernel / common / 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
15 #include <linux/compiler.h>
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
25 #define NF_VERDICT_MASK 0x0000ffff
26 #define NF_VERDICT_BITS 16
28 #define NF_VERDICT_QMASK 0xffff0000
29 #define NF_VERDICT_QBITS 16
31 #define NF_QUEUE_NR(x) (((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK) | NF_QUEUE)
33 #define NFC_UNKNOWN 0x4000
34 #define NFC_ALTERED 0x8000
36 #endif