1 #ifndef _LINUX_NETFILTER_XT_RECENT_H
2 #define _LINUX_NETFILTER_XT_RECENT_H 1
4 #include <linux/types.h>
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,
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
{
31 char name
[XT_RECENT_NAME_LEN
];
35 #endif /* _LINUX_NETFILTER_XT_RECENT_H */