Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 1 | #ifndef _UAPI__IP_SET_LIST_H |
| 2 | #define _UAPI__IP_SET_LIST_H |
| 3 | |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame^] | 4 | #include <linux/netfilter/ipset/ip_set.h> |
| 5 | |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 6 | /* List type specific error codes */ |
| 7 | enum { |
| 8 | /* Set name to be added/deleted/tested does not exist. */ |
| 9 | IPSET_ERR_NAME = IPSET_ERR_TYPE_SPECIFIC, |
| 10 | /* list:set type is not permitted to add */ |
| 11 | IPSET_ERR_LOOP, |
| 12 | /* Missing reference set */ |
| 13 | IPSET_ERR_BEFORE, |
| 14 | /* Reference set does not exist */ |
| 15 | IPSET_ERR_NAMEREF, |
| 16 | /* Set is full */ |
| 17 | IPSET_ERR_LIST_FULL, |
| 18 | /* Reference set is not added to the set */ |
| 19 | IPSET_ERR_REF_EXIST, |
| 20 | }; |
| 21 | |
| 22 | |
| 23 | #endif /* _UAPI__IP_SET_LIST_H */ |