diff options
author | Jan Engelhardt | 2010-12-15 22:58:53 +0100 |
---|---|---|
committer | Patrick McHardy | 2010-12-15 22:58:53 +0100 |
commit | f1c722295e029eace7960fc687efd5afd67dc555 (patch) | |
tree | 84b24d3dbecde3947520999a2ed297891eae4d5c /include/linux/netfilter/xt_u32.h | |
parent | IPVS: Backup, adding version 0 sending capabilities (diff) | |
download | kernel-qcow2-linux-f1c722295e029eace7960fc687efd5afd67dc555.tar.gz kernel-qcow2-linux-f1c722295e029eace7960fc687efd5afd67dc555.tar.xz kernel-qcow2-linux-f1c722295e029eace7960fc687efd5afd67dc555.zip |
netfilter: xtables: use guarded types
We are supposed to use the kernel's own types in userspace exports.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter/xt_u32.h')
-rw-r--r-- | include/linux/netfilter/xt_u32.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/netfilter/xt_u32.h b/include/linux/netfilter/xt_u32.h index 9947f56cdbdd..e8c3d8722bae 100644 --- a/include/linux/netfilter/xt_u32.h +++ b/include/linux/netfilter/xt_u32.h @@ -9,13 +9,13 @@ enum xt_u32_ops { }; struct xt_u32_location_element { - u_int32_t number; - u_int8_t nextop; + __u32 number; + __u8 nextop; }; struct xt_u32_value_element { - u_int32_t min; - u_int32_t max; + __u32 min; + __u32 max; }; /* @@ -27,14 +27,14 @@ struct xt_u32_value_element { struct xt_u32_test { struct xt_u32_location_element location[XT_U32_MAXSIZE+1]; struct xt_u32_value_element value[XT_U32_MAXSIZE+1]; - u_int8_t nnums; - u_int8_t nvalues; + __u8 nnums; + __u8 nvalues; }; struct xt_u32 { struct xt_u32_test tests[XT_U32_MAXSIZE+1]; - u_int8_t ntests; - u_int8_t invert; + __u8 ntests; + __u8 invert; }; #endif /* _XT_U32_H */ |