summaryrefslogtreecommitdiffstats
path: root/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-04-06 09:52:33 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-04-09 21:42:16 +0200
commit5e5e23e79dbc4cf581a09149885fef178bc07725 (patch)
treec6a44d2d37c167c91b08663cfa8411d10c2344b6 /kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
parente3c9c32fb9079da7eb8257650a034b8b12d19d42 (diff)
The uapi include split in the package itself
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h')
-rw-r--r--kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h b/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
new file mode 100644
index 0000000..a44efaa
--- /dev/null
+++ b/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
@@ -0,0 +1,21 @@
+#ifndef _UAPI__IP_SET_LIST_H
+#define _UAPI__IP_SET_LIST_H
+
+/* List type specific error codes */
+enum {
+ /* Set name to be added/deleted/tested does not exist. */
+ IPSET_ERR_NAME = IPSET_ERR_TYPE_SPECIFIC,
+ /* list:set type is not permitted to add */
+ IPSET_ERR_LOOP,
+ /* Missing reference set */
+ IPSET_ERR_BEFORE,
+ /* Reference set does not exist */
+ IPSET_ERR_NAMEREF,
+ /* Set is full */
+ IPSET_ERR_LIST_FULL,
+ /* Reference set is not added to the set */
+ IPSET_ERR_REF_EXIST,
+};
+
+
+#endif /* _UAPI__IP_SET_LIST_H */