History log of /external/libnl/include/netlink/netlink.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
256d7e723c0ff402422d3501866e9301b3f64c0f 03-Jul-2010 Thomas Graf <tgraf@suug.ch> Fix compile warning in nl.c
/external/libnl/include/netlink/netlink.h
27c505eb89f7a689416f822e26c0ccea0b351ba3 24-Feb-2010 Karl Hiramoto <karl@hiramoto.org> new feature nl_send_iovec(), nl_auto_complete() and code refactoring.

Create new function nl_send_iovec() to be used to send multiple 'struct iovec'
through the netlink socket. This will be used for NF_QUEUE, to send
packet payload of a modified packet.

Refactor nl_send() to use nl_send_iovec() sending a single struct iovec.

Create new function nl_auto_complete() by refactoring nl_send_auto_complete(),
so other functions that call nl_send may also use nl_auto_complete()

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
/external/libnl/include/netlink/netlink.h
dec2ea357d7f54c986d06a06b8233dd1a7c85245 06-Jul-2009 Pavel Roskin <proski@gnu.org> Declare struct ucred in handlers.h and netlink.h

Both files refer to it. The sources including those files are not
guaranteed to include sys/socket.h to ensure that struct ucred is
defined.
/external/libnl/include/netlink/netlink.h
1f66555570e58a71ed7975b8d2b22dafc99f8ab8 17-Jun-2008 Thomas Graf <tgr@lsx.localdomain> <netlink/addr.h> requires <netdb.h>
/external/libnl/include/netlink/netlink.h
1155370f520cb64657e25153255cf7dc1424317f 15-May-2008 Thomas Graf <tgr@lsx.localdomain> Rename struct nl_handle to struct nl_sock

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.
/external/libnl/include/netlink/netlink.h
7179b2d85964ef8fec8eca3ad661de9f38daa0ba 14-May-2008 Thomas Graf <tgr@lsx.localdomain> Break API some more

Since we've broken the API anyway, remove some aliases which only
exist for backwards compatibility.
/external/libnl/include/netlink/netlink.h
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/include/netlink/netlink.h
66330d37f58f506c423b263a4e40f094a52d4a09 30-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Provide libnl version in <netlink/version.h>
/external/libnl/include/netlink/netlink.h
865bbb464a08ef2c20238cb17337423763d6f0ca 18-Dec-2007 Thomas Graf <tgr@deb.localdomain> Include linux/ip_mg_alg.h internally for compatibility only
/external/libnl/include/netlink/netlink.h
44d362409d5469aed47d19e7908d19bd194493a4 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Initial import
/external/libnl/include/netlink/netlink.h