History log of /external/libnl/lib/netfilter/queue_msg.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cafdaa4e065a2ee658d7e361158100f4c7abe445 24-Feb-2010 Karl Hiramoto <karl@hiramoto.org> new function nfnl_queue_msg_send_verdict_payload()

nfnl_queue_msg_send_verdict_payload() will to send the verdict, mark,
and possibly changed payload through the netlink socket.

Add a few docbook comments in other funcs.

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
/external/libnl/lib/netfilter/queue_msg.c
cfcfca070355b246028df60da79813f09ed65755 20-Oct-2008 Thomas Graf <tgr@plip.localdomain> Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK

This changeset ensures that internal code properly synchronizes to
ACKs if ACKs are enabled and otherwise return immediately.
/external/libnl/lib/netfilter/queue_msg.c
28233246cd8fad47613e7ffd85ea0b1d69c0f8c2 15-May-2008 Thomas Graf <tgr@lsx.localdomain> Allow parser callbacks to return NL_OK, NL_SKIP, NL_EXIT

Obsoletes internal P_ACCEPT/P_IGNORE
/external/libnl/lib/netfilter/queue_msg.c
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/lib/netfilter/queue_msg.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/netfilter/queue_msg.c
0c2cb97924c4ab22f525d2419cf2e8ed9927541c 10-Mar-2008 Thomas Graf <tgr@lsx.localdomain> libnl: fix policy check for NFQA_HWADDR

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
/external/libnl/lib/netfilter/queue_msg.c
e72cb033f2f7323b63f3e640a37e7a75558ab128 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: Add nfnetlink_queue support

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/libnl/lib/netfilter/queue_msg.c