summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-31 23:32:51 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-31 23:32:51 +0100
commit77ae557f809e0f8cb33d1514934fe3876c6fd798 (patch)
tree88826594907754ad9a11d0227a8f6b24b95ae266 /kernel
parent8dd419e75bbddecfae682a2175ac785ce59a0e30 (diff)
Separate ipset errnos completely from system ones and bump protocol version.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/include/linux/netfilter/ipset/ip_set.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set.h b/kernel/include/linux/netfilter/ipset/ip_set.h
index 88e561c..ec333d8 100644
--- a/kernel/include/linux/netfilter/ipset/ip_set.h
+++ b/kernel/include/linux/netfilter/ipset/ip_set.h
@@ -12,7 +12,7 @@
*/
/* The protocol version */
-#define IPSET_PROTOCOL 5
+#define IPSET_PROTOCOL 6
/* The max length of strings including NUL: set and type identifiers */
#define IPSET_MAXNAMELEN 32
@@ -118,7 +118,7 @@ enum {
/* Error codes */
enum ipset_errno {
- IPSET_ERR_PRIVATE = 128,
+ IPSET_ERR_PRIVATE = 4096,
IPSET_ERR_PROTOCOL,
IPSET_ERR_FIND_TYPE,
IPSET_ERR_MAX_SETS,
@@ -135,7 +135,7 @@ enum ipset_errno {
IPSET_ERR_IPADDR_IPV6,
/* Type specific error codes */
- IPSET_ERR_TYPE_SPECIFIC = 160,
+ IPSET_ERR_TYPE_SPECIFIC = 4352,
};
/* Flags at command level */