1 #ifndef _XT_RATEEST_MATCH_H
2 #define _XT_RATEEST_MATCH_H
4 #include <linux/types.h>
6 enum xt_rateest_match_flags
{
7 XT_RATEEST_MATCH_INVERT
= 1<<0,
8 XT_RATEEST_MATCH_ABS
= 1<<1,
9 XT_RATEEST_MATCH_REL
= 1<<2,
10 XT_RATEEST_MATCH_DELTA
= 1<<3,
11 XT_RATEEST_MATCH_BPS
= 1<<4,
12 XT_RATEEST_MATCH_PPS
= 1<<5,
15 enum xt_rateest_match_mode
{
16 XT_RATEEST_MATCH_NONE
,
22 struct xt_rateest_match_info
{
32 /* Used internally by the kernel */
33 struct xt_rateest
*est1
__attribute__((aligned(8)));
34 struct xt_rateest
*est2
__attribute__((aligned(8)));
37 #endif /* _XT_RATEEST_MATCH_H */