blob: dd183b70bbd76a3d81891ef3a050f6f68cb740ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef __IP_SET_HASH_H
#define __IP_SET_HASH_H
/* Bitmap type specific error codes */
enum {
IPSET_ERR_HASH_FULL = IPSET_ERR_TYPE_SPECIFIC,
IPSET_ERR_HASH_ELEM,
};
#ifdef __KERNEL__
#define initval_t uint32_t
#define IPSET_DEFAULT_HASHSIZE 1024
#define IPSET_DEFAULT_MAXELEM 65536
#define IPSET_DEFAULT_PROBES 4
#define IPSET_DEFAULT_RESIZE 50
#endif /* __KERNEL__ */
#endif /* __IP_SET_HASH_H */
|