1 #ifndef __IP_SET_IPHASH_H
2 #define __IP_SET_IPHASH_H
4 #include <linux/netfilter_ipv4/ip_set.h>
6 #define SETTYPE_NAME "iphash"
7 #define MAX_RANGE 0x0000FFFF
10 ip_set_ip_t *members; /* the iphash proper */
11 uint32_t elements; /* number of elements */
12 uint32_t hashsize; /* hash size */
13 uint16_t probes; /* max number of probes */
14 uint16_t resize; /* resize factor in percent */
15 ip_set_ip_t netmask; /* netmask */
16 void *initval[0]; /* initvals for jhash_1word */
19 struct ip_set_req_iphash_create {
26 struct ip_set_req_iphash {
30 #endif /* __IP_SET_IPHASH_H */