Linux-libre 4.9.88-gnu
[librecmc/linux-libre.git] / include / uapi / linux / netfilter / ipset / ip_set_hash.h
1 #ifndef _UAPI__IP_SET_HASH_H
2 #define _UAPI__IP_SET_HASH_H
3
4 #include <linux/netfilter/ipset/ip_set.h>
5
6 /* Hash type specific error codes */
7 enum {
8         /* Hash is full */
9         IPSET_ERR_HASH_FULL = IPSET_ERR_TYPE_SPECIFIC,
10         /* Null-valued element */
11         IPSET_ERR_HASH_ELEM,
12         /* Invalid protocol */
13         IPSET_ERR_INVALID_PROTO,
14         /* Protocol missing but must be specified */
15         IPSET_ERR_MISSING_PROTO,
16         /* Range not supported */
17         IPSET_ERR_HASH_RANGE_UNSUPPORTED,
18         /* Invalid range */
19         IPSET_ERR_HASH_RANGE,
20 };
21
22
23 #endif /* _UAPI__IP_SET_HASH_H */