1
#ifndef __IP_SET_HASH_H
2
#define __IP_SET_HASH_H
4
/* Hash type specific error codes */
7
IPSET_ERR_HASH_FULL = IPSET_ERR_TYPE_SPECIFIC,
8
/* Null-valued element */
10
/* Invalid protocol */
11
IPSET_ERR_INVALID_PROTO,
12
/* Protocol missing but must be specified */
13
IPSET_ERR_MISSING_PROTO,
18
#define IPSET_DEFAULT_HASHSIZE 1024
19
#define IPSET_MIMINAL_HASHSIZE 64
20
#define IPSET_DEFAULT_MAXELEM 65536
21
#define IPSET_DEFAULT_PROBES 4
22
#define IPSET_DEFAULT_RESIZE 100
24
#endif /* __KERNEL__ */
26
#endif /* __IP_SET_HASH_H */