1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
2 | #ifndef _UAPI__IP_SET_LIST_H |
3 | #define _UAPI__IP_SET_LIST_H |
4 | |
5 | #include <linux/netfilter/ipset/ip_set.h> |
6 | |
7 | /* List type specific error codes */ |
8 | enum { |
9 | /* Set name to be added/deleted/tested does not exist. */ |
10 | IPSET_ERR_NAME = IPSET_ERR_TYPE_SPECIFIC, |
11 | /* list:set type is not permitted to add */ |
12 | IPSET_ERR_LOOP, |
13 | /* Missing reference set */ |
14 | IPSET_ERR_BEFORE, |
15 | /* Reference set does not exist */ |
16 | IPSET_ERR_NAMEREF, |
17 | /* Set is full */ |
18 | IPSET_ERR_LIST_FULL, |
19 | /* Reference set is not added to the set */ |
20 | IPSET_ERR_REF_EXIST, |
21 | }; |
22 | |
23 | |
24 | #endif /* _UAPI__IP_SET_LIST_H */ |
25 | |