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