1 diff -ruN linux-2.4.34.orig/include/linux/netfilter_ipv4/ip_set_ipporthash.h linux-2.4.34/include/linux/netfilter_ipv4/ip_set_ipporthash.h
2 --- linux-2.4.34.orig/include/linux/netfilter_ipv4/ip_set_ipporthash.h 1970-01-01 01:00:00.000000000 +0100
3 +++ linux-2.4.34/include/linux/netfilter_ipv4/ip_set_ipporthash.h 2006-12-31 18:32:57.183171722 +0100
5 +#ifndef __IP_SET_IPPORTHASH_H
6 +#define __IP_SET_IPPORTHASH_H
8 +#include <linux/netfilter_ipv4/ip_set.h>
10 +#define SETTYPE_NAME "ipporthash"
11 +#define MAX_RANGE 0x0000FFFF
12 +#define INVALID_PORT (MAX_RANGE + 1)
14 +struct ip_set_ipporthash {
15 + ip_set_ip_t *members; /* the ipporthash proper */
16 + uint32_t elements; /* number of elements */
17 + uint32_t hashsize; /* hash size */
18 + uint16_t probes; /* max number of probes */
19 + uint16_t resize; /* resize factor in percent */
20 + ip_set_ip_t first_ip; /* host byte order, included in range */
21 + ip_set_ip_t last_ip; /* host byte order, included in range */
22 + void *initval[0]; /* initvals for jhash_1word */
25 +struct ip_set_req_ipporthash_create {
33 +struct ip_set_req_ipporthash {
38 +#endif /* __IP_SET_IPPORTHASH_H */