]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netfilter/xt_statistic.h
Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-omap-h63xx.git] / include / linux / netfilter / xt_statistic.h
index 8f521ab49ef7726b0667f53b06d6a75d42a43796..4e983ef0c968a9e7d789fa89b9e3cfd10f9e859e 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _XT_STATISTIC_H
 #define _XT_STATISTIC_H
 
+#include <linux/types.h>
+
 enum xt_statistic_mode {
        XT_STATISTIC_MODE_RANDOM,
        XT_STATISTIC_MODE_NTH,
@@ -16,16 +18,16 @@ enum xt_statistic_flags {
 struct xt_statistic_priv;
 
 struct xt_statistic_info {
-       u_int16_t                       mode;
-       u_int16_t                       flags;
+       __u16                   mode;
+       __u16                   flags;
        union {
                struct {
-                       u_int32_t       probability;
+                       __u32   probability;
                } random;
                struct {
-                       u_int32_t       every;
-                       u_int32_t       packet;
-                       u_int32_t       count; /* unused */
+                       __u32   every;
+                       __u32   packet;
+                       __u32   count; /* unused */
                } nth;
        } u;
        struct xt_statistic_priv *master __attribute__((aligned(8)));