make netfilter use strict integer types
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / netfilter / xt_string.h
index 8a6ba7bbef9f18ff1c496f40b85a0cfff0ed0a16..ecbb95fc89ed274d70b756583293ef5a81bb2891 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _XT_STRING_H
 #define _XT_STRING_H
 
+#include <linux/types.h>
+
 #define XT_STRING_MAX_PATTERN_SIZE 128
 #define XT_STRING_MAX_ALGO_NAME_SIZE 16
 
@@ -11,18 +13,18 @@ enum {
 
 struct xt_string_info
 {
-       u_int16_t from_offset;
-       u_int16_t to_offset;
+       __u16 from_offset;
+       __u16 to_offset;
        char      algo[XT_STRING_MAX_ALGO_NAME_SIZE];
        char      pattern[XT_STRING_MAX_PATTERN_SIZE];
-       u_int8_t  patlen;
+       __u8  patlen;
        union {
                struct {
-                       u_int8_t  invert;
+                       __u8  invert;
                } v0;
 
                struct {
-                       u_int8_t  flags;
+                       __u8  flags;
                } v1;
        } u;