hv: hyperv.h: remove unneeded forward declarations of structures
[zen-stable.git] / include / linux / netfilter / xt_recent.h
blob83318e01425e74494f5c48fb25f83d015e522d01
1 #ifndef _LINUX_NETFILTER_XT_RECENT_H
2 #define _LINUX_NETFILTER_XT_RECENT_H 1
4 #include <linux/types.h>
6 enum {
7 XT_RECENT_CHECK = 1 << 0,
8 XT_RECENT_SET = 1 << 1,
9 XT_RECENT_UPDATE = 1 << 2,
10 XT_RECENT_REMOVE = 1 << 3,
11 XT_RECENT_TTL = 1 << 4,
12 XT_RECENT_REAP = 1 << 5,
14 XT_RECENT_SOURCE = 0,
15 XT_RECENT_DEST = 1,
17 XT_RECENT_NAME_LEN = 200,
20 /* Only allowed with --rcheck and --update */
21 #define XT_RECENT_MODIFIERS (XT_RECENT_TTL|XT_RECENT_REAP)
23 #define XT_RECENT_VALID_FLAGS (XT_RECENT_CHECK|XT_RECENT_SET|XT_RECENT_UPDATE|\
24 XT_RECENT_REMOVE|XT_RECENT_TTL|XT_RECENT_REAP)
26 struct xt_recent_mtinfo {
27 __u32 seconds;
28 __u32 hit_count;
29 __u8 check_set;
30 __u8 invert;
31 char name[XT_RECENT_NAME_LEN];
32 __u8 side;
35 #endif /* _LINUX_NETFILTER_XT_RECENT_H */