1 #ifndef __IP_SET_IPTREE_H
2 #define __IP_SET_IPTREE_H
4 #include <linux/netfilter_ipv4/ip_set.h>
6 #define SETTYPE_NAME "iptree"
7 #define MAX_RANGE 0x0000FFFF
9 struct ip_set_iptreed {
10 unsigned long expires[256]; /* x.x.x.ADDR */
13 struct ip_set_iptreec {
14 struct ip_set_iptreed *tree[256]; /* x.x.ADDR.* */
17 struct ip_set_iptreeb {
18 struct ip_set_iptreec *tree[256]; /* x.ADDR.*.* */
21 struct ip_set_iptree {
23 unsigned int gc_interval;
25 uint32_t elements; /* number of elements */
27 struct ip_set_iptreeb *tree[256]; /* ADDR.*.*.* */
31 struct ip_set_req_iptree_create {
35 struct ip_set_req_iptree {
40 #endif /* __IP_SET_IPTREE_H */