1 #ifndef _XT_STATISTIC_H
2 #define _XT_STATISTIC_H
4 #include <linux/types.h>
6 enum xt_statistic_mode {
7 XT_STATISTIC_MODE_RANDOM,
9 __XT_STATISTIC_MODE_MAX
11 #define XT_STATISTIC_MODE_MAX (__XT_STATISTIC_MODE_MAX - 1)
13 enum xt_statistic_flags {
14 XT_STATISTIC_INVERT = 0x1,
16 #define XT_STATISTIC_MASK 0x1
18 struct xt_statistic_priv;
20 struct xt_statistic_info {
30 __u32 count; /* unused */
33 struct xt_statistic_priv *master __attribute__((aligned(8)));
36 #endif /* _XT_STATISTIC_H */