1 Index: linux-2.4.35.4/include/linux/netfilter_ipv4/ip_set_ipporthash.h
2 ===================================================================
4 +++ linux-2.4.35.4/include/linux/netfilter_ipv4/ip_set_ipporthash.h
6 +#ifndef __IP_SET_IPPORTHASH_H
7 +#define __IP_SET_IPPORTHASH_H
9 +#include <linux/netfilter_ipv4/ip_set.h>
11 +#define SETTYPE_NAME "ipporthash"
12 +#define MAX_RANGE 0x0000FFFF
13 +#define INVALID_PORT (MAX_RANGE + 1)
15 +struct ip_set_ipporthash {
16 + ip_set_ip_t *members; /* the ipporthash proper */
17 + uint32_t elements; /* number of elements */
18 + uint32_t hashsize; /* hash size */
19 + uint16_t probes; /* max number of probes */
20 + uint16_t resize; /* resize factor in percent */
21 + ip_set_ip_t first_ip; /* host byte order, included in range */
22 + ip_set_ip_t last_ip; /* host byte order, included in range */
23 + void *initval[0]; /* initvals for jhash_1word */
26 +struct ip_set_req_ipporthash_create {
34 +struct ip_set_req_ipporthash {
39 +#endif /* __IP_SET_IPPORTHASH_H */