Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 2 | #ifndef _UAPI__IP_SET_HASH_H |
| 3 | #define _UAPI__IP_SET_HASH_H |
| 4 | |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame] | 5 | #include <linux/netfilter/ipset/ip_set.h> |
| 6 | |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 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 */ |