OSDN Git Service

Check in released NDK version r4.
[android-x86/prebuilt.git] / ndk / android-ndk-r4 / linux / platforms / android-8 / arch-x86 / usr / include / linux / netfilter / xt_tcpudp.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 _XT_TCPUDP_H
13 #define _XT_TCPUDP_H
14
15 struct xt_tcp
16 {
17  u_int16_t spts[2];
18  u_int16_t dpts[2];
19  u_int8_t option;
20  u_int8_t flg_mask;
21  u_int8_t flg_cmp;
22  u_int8_t invflags;
23 };
24
25 #define XT_TCP_INV_SRCPT 0x01  
26 #define XT_TCP_INV_DSTPT 0x02  
27 #define XT_TCP_INV_FLAGS 0x04  
28 #define XT_TCP_INV_OPTION 0x08  
29 #define XT_TCP_INV_MASK 0x0F  
30
31 struct xt_udp
32 {
33  u_int16_t spts[2];
34  u_int16_t dpts[2];
35  u_int8_t invflags;
36 };
37
38 #define XT_UDP_INV_SRCPT 0x01  
39 #define XT_UDP_INV_DSTPT 0x02  
40 #define XT_UDP_INV_MASK 0x03  
41
42 #endif