1 /****************************************************************************
2 ****************************************************************************
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.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _XT_STATISTIC_H
13 #define _XT_STATISTIC_H
15 enum xt_statistic_mode {
16 XT_STATISTIC_MODE_RANDOM,
17 XT_STATISTIC_MODE_NTH,
18 __XT_STATISTIC_MODE_MAX
20 #define XT_STATISTIC_MODE_MAX (__XT_STATISTIC_MODE_MAX - 1)
22 enum xt_statistic_flags {
23 XT_STATISTIC_INVERT = 0x1,
25 #define XT_STATISTIC_MASK 0x1
27 struct xt_statistic_info {
32 u_int32_t probability;
40 struct xt_statistic_info *master __attribute__((aligned(8)));