summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_RATEEST.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-06-05 16:18:41 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-05 16:18:41 +0200
commite0bba47e550420e371c97425cc6d39909a6e059b (patch)
treed146977b56f11a4cda11c2f6880b12eed573fb2a /include/linux/netfilter/xt_RATEEST.h
parent5a2208c3e62a150e6f6297abbfa63056ab4a8066 (diff)
Resync header files with kernel
Resync headers and add types.h file for endian annotated types, which are not available with old headers.
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)));
};