blob: 880749ace7983eaa0f68cef0ef9aaedd5614f308 [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Ben Cheng30692c62013-10-15 18:26:18 -07002#ifndef _UAPI__IP_SET_HASH_H
3#define _UAPI__IP_SET_HASH_H
4
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07005#include <linux/netfilter/ipset/ip_set.h>
6
Ben Cheng30692c62013-10-15 18:26:18 -07007/* Hash type specific error codes */
8enum {
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 */