UAPI: (Scripted) Disintegrate include/linux/netfilter/ipset
[deliverable/linux.git] / include / linux / netfilter / ipset / ip_set_hash.h
index e2a9fae767f631ac9fbc406a5237bbf099ca6ef7..f98ddfb094cb320fc9059a78347df396140d1bb4 100644 (file)
@@ -1,23 +1,8 @@
 #ifndef __IP_SET_HASH_H
 #define __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,
-};
+#include <uapi/linux/netfilter/ipset/ip_set_hash.h>
 
-#ifdef __KERNEL__
 
 #define IPSET_DEFAULT_HASHSIZE         1024
 #define IPSET_MIMINAL_HASHSIZE         64
@@ -25,6 +10,4 @@ enum {
 #define IPSET_DEFAULT_PROBES           4
 #define IPSET_DEFAULT_RESIZE           100
 
-#endif /* __KERNEL__ */
-
 #endif /* __IP_SET_HASH_H */
This page took 0.027057 seconds and 5 git commands to generate.