Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xt_recent.h
Go to the documentation of this file.
1 #ifndef _LINUX_NETFILTER_XT_RECENT_H
2 #define _LINUX_NETFILTER_XT_RECENT_H 1
3 
4 #include <linux/types.h>
5 
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,
13 
16 
18 };
19 
20 /* Only allowed with --rcheck and --update */
21 #define XT_RECENT_MODIFIERS (XT_RECENT_TTL|XT_RECENT_REAP)
22 
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)
25 
33 };
34 
43 };
44 
45 #endif /* _LINUX_NETFILTER_XT_RECENT_H */