summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-21 15:54:48 +0000
committerrofl0r <retnyg@gmx.net>2014-07-11 18:09:20 +0200
commitc6b6f3dd9d268e5dd58d2d3c8898a44307f206d5 (patch)
treeb964883db877ebd907652817fe2821f6ec985f44 /include
parent1f30967e7a2c74ed7252b6c9d04c568877384ba8 (diff)
downloadlibnl-tiny-c6b6f3dd9d268e5dd58d2d3c8898a44307f206d5.tar.gz
libnl-tiny: ensure compatibility to libnl version 3 and higher
To be prepared to support keepalived 1.2.10 and higher we need libnl3 or higher. The attached patch add some defines so that it can be build be libnl-tiny. Patch by Thomas Heil Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39991 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/netlink/errno.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/netlink/errno.h b/include/netlink/errno.h
index 0b43da0..f8b5130 100644
--- a/include/netlink/errno.h
+++ b/include/netlink/errno.h
@@ -45,8 +45,13 @@ extern "C" {
#define NLE_PROTO_MISMATCH 26
#define NLE_NOACCESS 27
#define NLE_PERM 28
+#define NLE_PKTLOC_FILE 29
+#define NLE_PARSE_ERR 30
+#define NLE_NODEV 31
+#define NLE_IMMUTABLE 32
+#define NLE_DUMP_INTR 33
-#define NLE_MAX NLE_PERM
+#define NLE_MAX NLE_DUMP_INTR
extern const char * nl_geterror(int);
extern void nl_perror(int, const char *);