summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_rateest.h
blob: 66b06aa6a351198f67d488fc888d3dd12c6280d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ***   To edit the content of this header, modify the corresponding
 ***   source file (e.g. under external/kernel-headers/original/) then
 ***   run bionic/libc/kernel/tools/update_all.py
 ***
 ***   Any manual change here will be lost the next time this script will
 ***   be run. You've been warned!
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _XT_RATEEST_MATCH_H
#define _XT_RATEEST_MATCH_H
#include <linux/types.h>
enum xt_rateest_match_flags {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 XT_RATEEST_MATCH_INVERT = 1<<0,
 XT_RATEEST_MATCH_ABS = 1<<1,
 XT_RATEEST_MATCH_REL = 1<<2,
 XT_RATEEST_MATCH_DELTA = 1<<3,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 XT_RATEEST_MATCH_BPS = 1<<4,
 XT_RATEEST_MATCH_PPS = 1<<5,
};
enum xt_rateest_match_mode {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 XT_RATEEST_MATCH_NONE,
 XT_RATEEST_MATCH_EQ,
 XT_RATEEST_MATCH_LT,
 XT_RATEEST_MATCH_GT,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
struct xt_rateest_match_info {
 char name1[IFNAMSIZ];
 char name2[IFNAMSIZ];
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 __u16 flags;
 __u16 mode;
 __u32 bps1;
 __u32 pps1;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 __u32 bps2;
 __u32 pps2;
 struct xt_rateest *est1 __attribute__((aligned(8)));
 struct xt_rateest *est2 __attribute__((aligned(8)));
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#endif