OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / prebuilt / ndk / android-ndk-r4 / platforms / android-4 / arch-arm / usr / include / linux / netfilter / xt_multiport.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_MULTIPORT_H
13 #define _XT_MULTIPORT_H
14
15 enum xt_multiport_flags
16 {
17  XT_MULTIPORT_SOURCE,
18  XT_MULTIPORT_DESTINATION,
19  XT_MULTIPORT_EITHER
20 };
21
22 #define XT_MULTI_PORTS 15
23
24 struct xt_multiport
25 {
26  u_int8_t flags;
27  u_int8_t count;
28  u_int16_t ports[XT_MULTI_PORTS];
29 };
30
31 struct xt_multiport_v1
32 {
33  u_int8_t flags;
34  u_int8_t count;
35  u_int16_t ports[XT_MULTI_PORTS];
36  u_int8_t pflags[XT_MULTI_PORTS];
37  u_int8_t invert;
38 };
39
40 #endif