mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Jan Engelhardt](/assets/img/avatar_default.png)
Resolve these warnings on `make headers_check`: usr/include/linux/netfilter/xt_CT.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h> ... Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
27 lines
501 B
C
27 lines
501 B
C
#ifndef _XT_TIME_H
|
|
#define _XT_TIME_H 1
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct xt_time_info {
|
|
__u32 date_start;
|
|
__u32 date_stop;
|
|
__u32 daytime_start;
|
|
__u32 daytime_stop;
|
|
__u32 monthdays_match;
|
|
__u8 weekdays_match;
|
|
__u8 flags;
|
|
};
|
|
|
|
enum {
|
|
/* Match against local time (instead of UTC) */
|
|
XT_TIME_LOCAL_TZ = 1 << 0,
|
|
|
|
/* Shortcuts */
|
|
XT_TIME_ALL_MONTHDAYS = 0xFFFFFFFE,
|
|
XT_TIME_ALL_WEEKDAYS = 0xFE,
|
|
XT_TIME_MIN_DAYTIME = 0,
|
|
XT_TIME_MAX_DAYTIME = 24 * 60 * 60 - 1,
|
|
};
|
|
|
|
#endif /* _XT_TIME_H */
|