aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netfilter/ipset/ip_set_hash.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 09:48:55 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-09 09:48:55 +0100
commita82014149becc68695e7f1d62a8cc1e4ae062318 (patch)
treea6ec2c9bda149912c70abc19fc3d8a9baa35fbc0 /include/uapi/linux/netfilter/ipset/ip_set_hash.h
parentUAPI: (Scripted) Disintegrate include/linux/netfilter (diff)
downloadlinux-dev-a82014149becc68695e7f1d62a8cc1e4ae062318.tar.xz
linux-dev-a82014149becc68695e7f1d62a8cc1e4ae062318.zip
UAPI: (Scripted) Disintegrate include/linux/netfilter/ipset
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/uapi/linux/netfilter/ipset/ip_set_hash.h')
-rw-r--r--include/uapi/linux/netfilter/ipset/ip_set_hash.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/ipset/ip_set_hash.h b/include/uapi/linux/netfilter/ipset/ip_set_hash.h
new file mode 100644
index 000000000000..352eeccdc7f2
--- /dev/null
+++ b/include/uapi/linux/netfilter/ipset/ip_set_hash.h
@@ -0,0 +1,21 @@
+#ifndef _UAPI__IP_SET_HASH_H
+#define _UAPI__IP_SET_HASH_H
+
+/* Hash type specific error codes */
+enum {
+ /* Hash is full */
+ IPSET_ERR_HASH_FULL = IPSET_ERR_TYPE_SPECIFIC,
+ /* Null-valued element */
+ IPSET_ERR_HASH_ELEM,
+ /* Invalid protocol */
+ IPSET_ERR_INVALID_PROTO,
+ /* Protocol missing but must be specified */
+ IPSET_ERR_MISSING_PROTO,
+ /* Range not supported */
+ IPSET_ERR_HASH_RANGE_UNSUPPORTED,
+ /* Invalid range */
+ IPSET_ERR_HASH_RANGE,
+};
+
+
+#endif /* _UAPI__IP_SET_HASH_H */