diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-12-15 21:58:53 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-12-15 21:58:53 (GMT) |
commit | f1c722295e029eace7960fc687efd5afd67dc555 (patch) | |
tree | 84b24d3dbecde3947520999a2ed297891eae4d5c /include/linux/netfilter/xt_u32.h | |
parent | b880c1f077000956b9f475d5f3b6c5e45ff2e342 (diff) | |
download | linux-fsl-qoriq-f1c722295e029eace7960fc687efd5afd67dc555.tar.xz |
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 9947f56..e8c3d87 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 */ |