1 #ifndef _XT_TIME_H 2 #define _XT_TIME_H 1 3 4 #include <linux/types.h> 5 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; 14 }; 15 16 enum { 17 /* Match against local time (instead of UTC) */ 18 XT_TIME_LOCAL_TZ = 1 << 0, 19 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, 25 }; 26 27 #endif /* _XT_TIME_H */ 28