History log of /external/libnl/lib/addr.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6782b6f709d03877a5661a4c8d8f8bd1b461f43f 10-Dec-2008 Thomas Graf <tgr@plip.localdomain> restructure module documentation order

split hiearchy into one top level module per library
/external/libnl/lib/addr.c
5ab9421111f6473af871f4678d5b93b21f50028d 13-Jun-2008 Thomas Graf <tgr@lsx.localdomain> Properly handle addr=NULL in nl_addr2str
/external/libnl/lib/addr.c
304746f8d06a14bc911a2b58cf1c2398b02ead0a 22-May-2008 Thomas Graf <tgr@lsx.localdomain> Fix error code of nl_addr_resolve()
/external/libnl/lib/addr.c
eed2afaab7aa72fae393a395a8879b91a922ff5e 14-May-2008 Thomas Graf <tgr@lsx.localdomain> Remove obsolete nla_get_addr() and nla_get_data()

Replaces obsolete calls to nla_get_addr() and nla_get_data()
with nl_addr_alloc_attr() respectively nl_data_alloc_attr().

Also fixes missing error handling while parsing routing multipath
configuration.
/external/libnl/lib/addr.c
8a3efffa5b3fde252675239914118664d36a2c24 14-May-2008 Thomas Graf <tgr@lsx.localdomain> Thread-safe error handling

In order for the interface to become more thread safe, the error
handling was revised to no longer depend on a static errno and
error string buffer.

This patch converts all error paths to return a libnl specific
error code which can be translated to a error message using
nl_geterror(int error). The functions nl_error() and
nl_get_errno() are therefore obsolete.

This change required various sets of function prototypes to be
changed in order to return an error code, the most prominent
are:

struct nl_cache *foo_alloc_cache(...);
changed to:
int foo_alloc_cache(..., struct nl_cache **);

struct nl_msg *foo_build_request(...);
changed to:
int foo_build_request(..., struct nl_msg **);

struct foo *foo_parse(...);
changed to:
int foo_parse(..., struct foo **);

This pretty much only leaves trivial allocation functions to
still return a pointer object which can still return NULL to
signal out of memory.

This change is a serious API and ABI breaker, sorry!
/external/libnl/lib/addr.c
0fa6756cca2444ddf665cc140585822d6c04507a 30-Jan-2008 Thomas Graf <tgr@deb.localdomain> Abstract address allocation based on netlink attribute
/external/libnl/lib/addr.c
3ad4665be2f192291238cbe78118a57ec42436c6 19-Dec-2007 Thomas Graf <tgr@deb.localdomain> Support link operstate and linkmode
/external/libnl/lib/addr.c
44d362409d5469aed47d19e7908d19bd194493a4 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Initial import
/external/libnl/lib/addr.c