diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:48 +0000 |
commit | 0cf9f468c011ee551c4fa42b5792148cde2dcb95 (patch) | |
tree | 54c399082a21929dfef0733ecb3a0bf264c57beb /package/libs/libnl-tiny/src/include/netlink | |
parent | 77530d20cec052fdccf4061fdd58efde61aee209 (diff) | |
download | upstream-0cf9f468c011ee551c4fa42b5792148cde2dcb95.tar.gz upstream-0cf9f468c011ee551c4fa42b5792148cde2dcb95.tar.bz2 upstream-0cf9f468c011ee551c4fa42b5792148cde2dcb95.zip |
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 'package/libs/libnl-tiny/src/include/netlink')
-rw-r--r-- | package/libs/libnl-tiny/src/include/netlink/errno.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libs/libnl-tiny/src/include/netlink/errno.h b/package/libs/libnl-tiny/src/include/netlink/errno.h index 0b43da02a9..f8b5130c22 100644 --- a/package/libs/libnl-tiny/src/include/netlink/errno.h +++ b/package/libs/libnl-tiny/src/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 *); |