diff options
Diffstat (limited to 'kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h')
-rw-r--r-- | kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h b/kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h index b715c56..ccec14e 100644 --- a/kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h +++ b/kernel/include/linux/netfilter_ipv4/ip_set_ipporthash.h @@ -4,8 +4,6 @@ #include <linux/netfilter_ipv4/ip_set.h> #define SETTYPE_NAME "ipporthash" -#define MAX_RANGE 0x0000FFFF -#define INVALID_PORT (MAX_RANGE + 1) struct ip_set_ipporthash { ip_set_ip_t *members; /* the ipporthash proper */ @@ -15,7 +13,7 @@ struct ip_set_ipporthash { uint16_t resize; /* resize factor in percent */ ip_set_ip_t first_ip; /* host byte order, included in range */ ip_set_ip_t last_ip; /* host byte order, included in range */ - void *initval[0]; /* initvals for jhash_1word */ + uint32_t initval[0]; /* initvals for jhash_1word */ }; struct ip_set_req_ipporthash_create { |