History log of /external/iproute2/include/libnetlink.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7dd03712226d2943e46f427217158707c148d2b3 16-Mar-2012 Stephen Hemminger <shemminger@vyatta.com> Fix rta_getattr_u32 wrapper and add getattr_u8
/external/iproute2/include/libnetlink.h
cfd2cbd15f03e26fdb8617a9f37a0a25425adfe2 06-Feb-2012 Stephen Hemminger <shemminger@vyatta.com> Add cast to rta_getattr_str

Warning from C++
/external/iproute2/include/libnetlink.h
f5b830dc5dab07149157eb007de9a858a57e880b 31-Dec-2011 Jan Engelhardt <jengelh@medozas.de> iproute2: avoid use of implicit declarations

gcc -DLIBDIR=\"/usr/lib64\" -D_GNU_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\"/usr/lib64/xtables\" -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib64\" -fPIC -c -o ipx_pton.o ipx_pton.c
In file included from ../include/utils.h:8:0,
from ipx_ntop.c:5:
../include/libnetlink.h: In function 'rta_getattr_u64':
../include/libnetlink.h:84:2: warning: implicit declaration of function 'memcpy'
../include/libnetlink.h:84:2: warning: incompatible implicit declaration of built-in function 'memcpy'
/external/iproute2/include/libnetlink.h
46c5d64d6967da4401122159a8d9488c1878be65 29-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: add attribute access inline functions

Based on idea in libmnl, add attribute access functions instead
of explicitly exposing casts. Also handle possible alignment issues
of u64.
/external/iproute2/include/libnetlink.h
cd70f3f522e04b4d2fa80ae10292379bf223a53b 28-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: remove unused junk callback

Both rtnl_talk and rtnl_dump had a callback for handling portions
of netlink message that do not match the correct pid or seq.
But this callback was never used by any part of iproute2 so remove
it.
/external/iproute2/include/libnetlink.h
2aa3dd29a75c494bf969586da5489d4dc7d07839 23-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: add more attribute functions

New functions to handle u8, u16, u32, u64 and string attribute types.
Use common code for all attribute wrappers.
/external/iproute2/include/libnetlink.h
6cf8398f5f487762586801c25539d8fe5bb33b39 23-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: change rtnl_send() to take void *

Avoid having to cast buffer being sent.
/external/iproute2/include/libnetlink.h
b49240ec7eab91418d2f090536bf8cd2205988d6 02-Dec-2009 Simon Horman <horms@verge.net.au> flush secondary addresses before primary ones

Unless promote_secondaries has been active deleting the primary address of
an interface will automatically delete all the secondary addresses.

In the case where ip flush requests the primary then secondary addresses to
be removed - which is the order the addresses are returned by the kernel -
this will cause an error as by the time the request to remove a secondary
address is made it will be missing as it will have been deleted in the
course of deleting the primary address.

This approach to solving this problem orders requests for the
deletion of secondary addresses before primary ones providing
rtnl_dump_filter_l(), a version of rtnl_dump_filter() that
iterates over a list of filters. And by providing two specialised
filters print_addrinfo_secondary() and print_addrinfo_primary().

rtnl_dump_filter_l() first iterates over all addresses using
print_addrinfo_secondary(), which appends secondary addresses to the
request buffer. Then again using print_addrinfo_primary() which appends
primary addresses.

This approach should work regardless of it promote_secondaries is
active or not. And regardless of if any primary of secondary addresses
are present or not.

Signed-off-by: Simon Horman <horms@verge.net.au>
/external/iproute2/include/libnetlink.h
7f03191fda39ff09640f093b7ad84f461ffd65b2 28-Oct-2009 Patrick McHardy <kaber@trash.net> iproute uses too small of a receive buffer

It uses 1MB as receive buf limit by default (without
increasing /proc/sys/net/core/rmem_max it will be limited by less
however) and allows to specify the size manually using "-rcvbuf X"
(-r is already used, so you need to specify at least -rc).

Additionally rtnl_listen() continues on ENOBUFS after printing the
error message.
/external/iproute2/include/libnetlink.h
f31a37f79d1f33d4d0d6a18f3768bfee27e8b6cc 01-Feb-2008 Stephen Hemminger <stephen.hemminger@vyatta.com> fix problem caused by rtnl_send checks

Some usages of rtnl_send could cause errors (ie flush requests)
others do a listen afterwards.

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/include/libnetlink.h
2f90c9c0bb0d8ed4841cb4c77c2d707ec07f20bf 14-Aug-2007 Patrick McHardy <kaber@trash.net> IPROUTE2: RTNETLINK nested attributes

This adds capability for iproute2 to send nested attributes to the
kernel, while maintaining backwards compatibility.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/include/libnetlink.h
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/include/libnetlink.h
ead2ba7008c9db02954dae6f180aed8770a0560d 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Update to 2.6.19 headers

Headers extracted from early 2.6.20 development process

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/include/libnetlink.h
753fca4f54bdc4178fac97954746ded6553920a7 18-Jan-2005 5!tgraf <5!tgraf> parse_rtattr_nested macro to parse nested TLVs

(Logical change 1.129)
/external/iproute2/include/libnetlink.h
a10ab08b002dfd25a2d48c6f493835140467a272 18-Jan-2005 5!tgraf <5!tgraf> addraw_l prototype

(Logical change 1.128)
/external/iproute2/include/libnetlink.h
370d67ba5678b222ccbdd19647ae81ccc3c97801 18-Jan-2005 5!tgraf <5!tgraf> Add NLMSG_TAIL macro pointing to the tail of a netlink message

(Logical change 1.127)
/external/iproute2/include/libnetlink.h
50772dc51ac02239958e1ebcdb21277fcdf133a7 07-Dec-2004 osdl.net!shemminger <osdl.net!shemminger> Add ip rule flush capabilty and fix all the prototype changes
because of that code rewrites the nlmsghdr.

(Logical change 1.106)
/external/iproute2/include/libnetlink.h
6dc9f016347441fbf94cf851c054b0f45ba32c1c 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> make all filtering handles take const args.

(Logical change 1.77)
/external/iproute2/include/libnetlink.h
c7699875bee00fbcd057fc62c30d6560b044e007 07-Jul-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch ipxfrm-20040707_2.diff

(Logical change 1.53)
/external/iproute2/include/libnetlink.h
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/include/libnetlink.h
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/include/libnetlink.h