History log of /external/libnl/include/netlink-types.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ab22ccd47319e7d9a972bcf018e1a03870f64f0 22-Sep-2010 Andreas Fett <a.fett@gmx.de> add user data to change_func_t for caches

the patch below adds the possibility to
pass user data to callbacks of type
change_func_t when using the nl_cache_mngr_*
family of functions.

If there is any better way to do this,
without duplicating the code in
cache_mngr.c please let me know.
ef858fb492dfe98e3ae194264fbc73649cf8493a 02-Sep-2009 Thomas Graf <tgr@lsx.localdomain> - Reworked the classifier interface.
- Added initial ematch support
- Added support for the basic classifier
- Added support for the cgroup classifier
2bdee95a765457fe4206b89d51974ae56e75c588 20-Oct-2008 Thomas Graf <tgr@plip.localdomain> Add socket flag NL_NO_AUTO_ACK to allow disabling auto ACKS
5d92f9c03d85cefee5afe7f40d7ea69dfde4cf77 15-Oct-2008 Thomas Graf <tgr@plip.localdomain> Use 16bit ints for classifier prio/protocol
23ee46ef7115c2e311c36e43a833e6c3deada18a 14-Oct-2008 Thomas Graf <tgr@plip.localdomain> Replace NL_KEEP code with proper message reference counting

Adds reference counting to netlink messages so callbacks
can hold on to a message without using the broken keep
message flag.
ff05f2ffc3caea6c59b6c940aa80e1314783a070 17-Jun-2008 Thomas Graf <tgr@lsx.localdomain> Fix compile errors when linking against libnl-genl
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.
241b2b83ba5672f5c86154d29eeb8ef4c7c6e9b4 30-Apr-2008 Tad Kollar <Thaddeus.J.Kollar@nasa.gov> New netem funtionality and TBF fix

New netem-related functionality:
Added ability to save new settings to the kernel. In netem.c, the
netem_get_opts() stub has been replaced with netem_build_msg() which
manipulates the nl_msg data directly and returns an error code instead
of a new nl_msg. Modifications to qdisc_build() in qdisc.c and struct
rtnl_qdisc_ops were necessary for this.
Added support for getting/setting corruption probability/correlation.
Added support for setting a delay distribution.

Fixed tbf_msg_parser() to call tbf_alloc() instead of tbf_qdisc() to
prevent a seg fault.
535e83162249ed6274ba46bc72d8cc683ba20e17 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Big routing code rework (API/ABI BREAK!)

Adds all missing routing attributes and brings the routing
related code to a working state. In the process the API
was broken several times with the justification that nobody
is using this code yet.

The changes include new example code which is also a prototype
for how plain CLI tools could look like to control routes.
2f4f8a5094b56c460f4b5bb1b62b7ec8f624942c 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: Split up nfnetlink_log into log and msg objects

Split the nfnetlink_log code into two seperate objects, "netfilter/log"
to represent logging instances and "netfilter/log_msg" to represent
log messages. Also perform some function name unification for consistency
with other libnl object types, mainly renaming nfnl_log_build_*_msg
to nfnl_log_build_*_request.

This changes the API in an incompatible way, but since this feature is
new and the libnl netfilter headers haven't been installed so far,
there shouldn't be any users affected by this.

Signed-off-by: Patrick McHardy <kaber@trash.net>
3f48e49102f3967e87b98b66721c35aefcc299ca 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: nfnetlink_log: support NUFLA_GID attribute

The NUFLA_GID attribute (currently only in net-2.6.25) contains the
gid of the sending process for locally generated packets.

Signed-off-by: Patrick McHardy <kaber@trash.net>
e72cb033f2f7323b63f3e640a37e7a75558ab128 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: Add nfnetlink_queue support

Signed-off-by: Patrick McHardy <kaber@trash.net>
6de17f3308cfd53ad922d144a1b28ddd962d6678 14-Jan-2008 Thomas Graf <tgr@deb.localdomain> Fix stale data pointers when constructing messages

Patrick McHardy reported a problem where pointers to the
payload of a netlink message as returned by f.e. the
nesting helpers become stale when the payload data
chunk is reallocated.

In order to avoid further problems, the payload chunk is
no longer extended on the fly. Instead the allocation is
made during netlink message object allocation time with
a default size of a page which should be fine for the
majority of all users. Additionally the functions
nlmsg_alloc_size() and nlmsg_set_default_size() have been
added to allocate messages of a particular length and to
modify the default message size.
a7469ce758fac3631df6ce72eb3f89150070e7f8 08-Jan-2008 Thomas Graf <tgr@deb.localdomain> Link info interface and vlan support

Adds an external interface to implement link info types and
implements the type vlan.
3ad4665be2f192291238cbe78118a57ec42436c6 19-Dec-2007 Thomas Graf <tgr@deb.localdomain> Support link operstate and linkmode
cbe8902265ccc9f6aa6453aeb3a2a4631ed0eb01 18-Sep-2007 Philip Craig <philipc@snapgear.com> Allow filtering by name for conntrack status flags
3040a1d6254465bed9e44e4d1bf279c2c50cd16a 17-Sep-2007 Thomas Graf <tgraf@suug.ch> Export interface to define caches

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.
508685c269275cb7ba3471c75abc689b4e3839b1 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Export interface to define objects

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.
44d362409d5469aed47d19e7908d19bd194493a4 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Initial import