summaryrefslogtreecommitdiff
path: root/include/linux/netfilter/xt_time.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-15 22:58:53 +0100
committerPatrick McHardy <kaber@trash.net>2010-12-15 22:58:53 +0100
commitf1c722295e029eace7960fc687efd5afd67dc555 (patch)
tree84b24d3dbecde3947520999a2ed297891eae4d5c /include/linux/netfilter/xt_time.h
parentb880c1f077000956b9f475d5f3b6c5e45ff2e342 (diff)
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_time.h')
-rw-r--r--include/linux/netfilter/xt_time.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/netfilter/xt_time.h b/include/linux/netfilter/xt_time.h
index 14b6df412c9f..b8bd4568efdb 100644
--- a/include/linux/netfilter/xt_time.h
+++ b/include/linux/netfilter/xt_time.h
@@ -2,13 +2,13 @@
#define _XT_TIME_H 1
struct xt_time_info {
- u_int32_t date_start;
- u_int32_t date_stop;
- u_int32_t daytime_start;
- u_int32_t daytime_stop;
- u_int32_t monthdays_match;
- u_int8_t weekdays_match;
- u_int8_t flags;
+ __u32 date_start;
+ __u32 date_stop;
+ __u32 daytime_start;
+ __u32 daytime_stop;
+ __u32 monthdays_match;
+ __u8 weekdays_match;
+ __u8 flags;
};
enum {