summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_RATEEST.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netfilter/xt_RATEEST.h')
-rw-r--r--include/linux/netfilter/xt_RATEEST.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netfilter/xt_RATEEST.h b/include/linux/netfilter/xt_RATEEST.h
index ed9665f1..f79e3133 100644
--- a/include/linux/netfilter/xt_RATEEST.h
+++ b/include/linux/netfilter/xt_RATEEST.h
@@ -3,8 +3,10 @@
struct xt_rateest_target_info {
char name[IFNAMSIZ];
- signed char interval;
- unsigned char ewma_log;
+ int8_t interval;
+ u_int8_t ewma_log;
+
+ /* Used internally by the kernel */
struct xt_rateest *est __attribute__((aligned(8)));
};