summaryrefslogtreecommitdiffstats
path: root/include/libipset/linux_ip_set_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libipset/linux_ip_set_hash.h')
-rw-r--r--include/libipset/linux_ip_set_hash.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libipset/linux_ip_set_hash.h b/include/libipset/linux_ip_set_hash.h
index db6977b..7c6336a 100644
--- a/include/libipset/linux_ip_set_hash.h
+++ b/include/libipset/linux_ip_set_hash.h
@@ -1,11 +1,15 @@
#ifndef __IP_SET_HASH_H
#define __IP_SET_HASH_H
-/* Bitmap type specific error codes */
+/* 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,
};