summaryrefslogtreecommitdiffstats
path: root/include/netlink-local.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-07Compile 2.0 with KitkatMathieu Poirier1-1/+0
Mostly following example set by Arik Nemtsov for Froyo. Change-Id: I4c6b56e32f8a9f80bbd224e62e26052074b428d9 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2010-07-02Packet Location InterfaceThomas Graf1-0/+1
2008-10-20Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACKThomas Graf1-0/+8
This changeset ensures that internal code properly synchronizes to ACKs if ACKs are enabled and otherwise return immediately.
2008-10-10From: Kees Cook <kees@outflux.net>Thomas Graf1-0/+1
Hello! It seems that libnl is missing an include for limits.h, which causes it to FTBFS when glibc 2.8 is installed (currently in experimental, so I left this bug severity at "normal").
2008-08-19libnl: fix about 100 warningsHolger Schurig1-0/+1
In file included from addr.c:28: ../include/netlink-local.h:119:1: warning: "__deprecated" redefined In file included from /usr/include/linux/stddef.h:4, from /usr/include/linux/posix_types.h:4, from /usr/include/linux/types.h:8, from ../include/netlink-local.h:37, from addr.c:28: /usr/include/linux/compiler.h:45:1: warning: this is the location of the previous definition This happens about 100 times. Suggested patch:
2008-05-26Remove unused dp_dump_line()Thomas Graf1-2/+0
2008-05-23Remove old line counting while dumpingThomas Graf1-4/+0
2008-05-15Allow parser callbacks to return NL_OK, NL_SKIP, NL_EXITThomas Graf1-3/+0
Obsoletes internal P_ACCEPT/P_IGNORE
2008-05-15Uninline various functions to save 7K codeThomas Graf1-187/+10
2008-05-14Thread-safe error handlingThomas Graf1-35/+1
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!
2008-04-29Export nl_dump_line() and automatically count lines while dumpingThomas Graf1-13/+5
2008-01-30Detailed attribute documentationThomas Graf1-0/+1
This patch extends and reorganizes the existing attribute documentation and includes various verbose examples.
2007-12-18Include linux/ip_mg_alg.h internally for compatibility onlyThomas Graf1-0/+1
2007-09-18Use linux/types.h to fix amd64 buildPhilip Craig1-6/+1
10-amd64-linux-types.patch from Ubuntu: - In order to make libnl compilable on amd64 include linux/types.h rather than defining the types ourselves; necessary as other headers include that and get different definitions. -- Scott James Remnant <scott@ubuntu.com> Wed, 22 Mar 2006 02:12:08 +0000
2007-09-17Export interface to define cachesThomas Graf1-0/+1
This interface was internal so far which required all code defining caches to be compiled with the sources available. In order to simplify the interface, the co_msg_parser prototype was changed to take the struct nl_parser_param directly instead of a void *. It used to be void * because the co_msg_parser was directly passed as the NL_CB_VALID callback function.
2007-09-15Export interface to define objectsThomas Graf1-39/+6
This interface was internal so far which required all code defining objects to be compiled with the sources available. This change exposes struct nl_object_ops which seems safe as it is not supposed to be embedded in other structures. Patch contains extensive documentation to help with the creation of own object implementations.
2007-09-15Initial importaosp-new/nougat-mr1-arcThomas Graf1-0/+436