blob: 84d4303682666f04086f675f6e02da72632854f7 [file] [log] [blame]
Ben Cheng30692c62013-10-15 18:26:18 -07001#ifndef _UAPI__IP_SET_LIST_H
2#define _UAPI__IP_SET_LIST_H
3
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07004#include <linux/netfilter/ipset/ip_set.h>
5
Ben Cheng30692c62013-10-15 18:26:18 -07006/* List type specific error codes */
7enum {
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 */