ef8ba32e0ca7ac7bbbaf87f6fd7b197af18aed25 |
|
27-Apr-2009 |
Inaky Perez-Gonzalez <inaky@linux.intel.com> |
release_local_port: properly compute the bitmap position Current calculation is always off, not reflecting the right position in the bitmap, which results in failures due to conflicts (detected at the kernel level) when trying to open a new handle. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
/external/libnl/lib/socket.c
|
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/socket.c
|
724dfa6d70943e0d4e3c8e54bff43050828a64d0 |
|
10-Dec-2008 |
Thomas Graf <tgr@plip.localdomain> |
Consistent naming of socket functions
/external/libnl/lib/socket.c
|
4fd5f7cb6627a22bd9f228b4259d5106ae39d535 |
|
03-Dec-2008 |
Thomas Graf <tgr@plip.localdomain> |
Documentation update
/external/libnl/lib/socket.c
|
72aa861c48b6876e94d07470025155a6924a6983 |
|
01-Dec-2008 |
Holger Eitzenberger <heitzenberger@astaro.com> |
Allow to pass multiple group values to membership functions Instead of calling the membership functions several times it is helpfull to extend the API and make the single group functions a special case. The value 0 (NFNLGRP_NONE) terminates this list. Example use: nl_socket_add_memberships(sock, group_1, group_2, 0); nl_socket_drop_memberships(sock, group_1, group_2, 0); Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
/external/libnl/lib/socket.c
|
2bdee95a765457fe4206b89d51974ae56e75c588 |
|
20-Oct-2008 |
Thomas Graf <tgr@plip.localdomain> |
Add socket flag NL_NO_AUTO_ACK to allow disabling auto ACKS
/external/libnl/lib/socket.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/socket.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/socket.c
|
680c54fd4616649763a50b122df6cff53b9e62bd |
|
18-Dec-2007 |
Thomas Graf <tgr@deb.localdomain> |
Support defining the default callback handler with an environment variable
/external/libnl/lib/socket.c
|
155ad439a49df034ec58ee4218834bc5b0120515 |
|
17-Dec-2007 |
Thomas Graf <tgr@deb.localdomain> |
Fix memory leak when parsing netlink messages into caches The reference created by the parsers was never given back.
/external/libnl/lib/socket.c
|
91c330aae51cd6cd44ad730e10dc82724998c810 |
|
17-Dec-2007 |
Thomas Graf <tgr@deb.localdomain> |
Fix creation and destruction of sockets Fixes an off-by-one when releasing local ports. Fixes nl_connect() to properly close the socket upon failure. Return EBADFD if operations are performed on unconnected sockets where appropriate. Makes nl_handle_alloc() return an error if all local ports are used up.
/external/libnl/lib/socket.c
|
44d362409d5469aed47d19e7908d19bd194493a4 |
|
15-Sep-2007 |
Thomas Graf <tgraf@suug.ch> |
Initial import
/external/libnl/lib/socket.c
|