Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / include / linux / netfilter / xt_time.h
blob7c37fac576c440d34c650dbc352bcceded891808
1 #ifndef _XT_TIME_H
2 #define _XT_TIME_H 1
4 #include <linux/types.h>
6 struct xt_time_info {
7 __u32 date_start;
8 __u32 date_stop;
9 __u32 daytime_start;
10 __u32 daytime_stop;
11 __u32 monthdays_match;
12 __u8 weekdays_match;
13 __u8 flags;
16 enum {
17 /* Match against local time (instead of UTC) */
18 XT_TIME_LOCAL_TZ = 1 << 0,
20 /* Shortcuts */
21 XT_TIME_ALL_MONTHDAYS = 0xFFFFFFFE,
22 XT_TIME_ALL_WEEKDAYS = 0xFE,
23 XT_TIME_MIN_DAYTIME = 0,
24 XT_TIME_MAX_DAYTIME = 24 * 60 * 60 - 1,
27 #endif /* _XT_TIME_H */