/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
* Patrick Schaaf <bof@bof.de>
* Martin Josefsson <gandalf@wlug.westbo.se>
- * Copyright (C) 2003-2010 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
+ * Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
*/
/* 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
/* Error codes */
enum ipset_errno {
- IPSET_ERR_PRIVATE = 128,
+ IPSET_ERR_PRIVATE = 4096,
IPSET_ERR_PROTOCOL,
IPSET_ERR_FIND_TYPE,
IPSET_ERR_MAX_SETS,
IPSET_ERR_IPADDR_IPV6,
/* Type specific error codes */
- IPSET_ERR_TYPE_SPECIFIC = 160,
+ IPSET_ERR_TYPE_SPECIFIC = 4352,
};
/* Flags at command level */
*/
/* 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
/* Error codes */
enum ipset_errno {
- IPSET_ERR_PRIVATE = 128,
+ IPSET_ERR_PRIVATE = 4096,
IPSET_ERR_PROTOCOL,
IPSET_ERR_FIND_TYPE,
IPSET_ERR_MAX_SETS,
IPSET_ERR_IPADDR_IPV6,
/* Type specific error codes */
- IPSET_ERR_TYPE_SPECIFIC = 160,
+ IPSET_ERR_TYPE_SPECIFIC = 4352,
};
/* Flags at command level */