summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/addr.h
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13addr: Add missing header to <netlink/route/addr.h>Thomas Graf1-0/+1
Fixes a gcc warning
2011-05-03addr: store link object and provide rtnl_addr_get()Thomas Graf1-1/+7
stores rtnl_link object in address if cache is availble. Provide access via rtnl_addr_get_link() and rtnl_addr_set_link(). Add rtnl_addr_get() which searches a address cache for an address matching ifindex and local address.
2010-04-19addr: restore anycast functionsPatrick McHardy1-0/+3
Seems it got lost during some cleanups. Signed-off-by: Patrick McHardy <kaber@trash.net>
2008-06-17Improvements to address utilitiesThomas Graf1-0/+7
- Moved env var dumping to nl-addr-list.c - support for ipv6 lifetimes - correct and complete help texts
2008-05-15Remove references to unused attribute anycastThomas Graf1-3/+0
2008-05-15Rename struct nl_handle to struct nl_sockThomas Graf1-3/+3
The idea of a common handle is long revised and only misleading, nl_handle really represents a socket with some additional action handlers assigned to it. Alias for nl_handle is kept for backwards compatibility.
2008-05-14Check length of provided address labelThomas Graf1-1/+1
2008-05-14Thread-safe error handlingThomas Graf1-43/+36
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!
2007-09-15Initial importThomas Graf1-0/+91