Abstract data allocation based on netlink attribute
Abstract address allocation based on netlink attribute
Detailed attribute documentation

This patch extends and reorganizes the existing attribute documentation
and includes various verbose examples.
Free associated caches when freeing cache manager

Caches allocated by the cache manager must be freed again when the cache
manager itself is freed. However, the netlink socket is allocated
indepdently so it should not be freed.
Improve readability of link statistics output
[LIBNL]: Add if_vlan.h

vlan support needs VLAN_FLAG_REORDER_HDR, which is not available in
older if_vlan.h versions. Add the current version from the kernel.

Signed-off-by: Patrick McHardy <kaber@trash.net>
[LIBNL]: Fix minor memleaks on exit

Make valgrind happy ...

Signed-off-by: Patrick McHardy <kaber@trash.net>
[LIBNL]: Generic netfilter stuff

Add some generic helper functions for netfilter.

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

Signed-off-by: Patrick McHardy <kaber@trash.net>
[LIBNL]: nfnetlink_log: only set hwproto if not zero

The hwproto doesn't have its own attribute and is also present when
not set. Don't set the attribute if its value is zero.

Signed-off-by: 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>
[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>
[LIBNL]: Support conntrack add/delete/query requests

Signed-off-by: Patrick McHardy <kaber@trash.net>
[LIBNL]: Install netfilter headers

libnl currently forgets to install the netfilter headers.
Fix that.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Fix nfnl_queue_msg_get_packetid() return type

[LIBNL]: Fix nfnl_queue_msg_get_packetid() return type

The packet-ID is a 32 bit value, but nfnl_queue_msg_get_packetid() returns
an uint16_t. Makes queueing fail after 2^16 packets.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Be liberal when receiving an empty nested attribute

No longer enforce at least one attribute in a container of nested
attributes. The application may do so itself by setting minlen
to NLA_HDRLEN.
Update local copy of linux/rtnetlink.h
[PATCH] Remove usage of C++ keyword 'class' on htb.h header.

Signed-off-by: Rui Tiago Cação Matos <rmatos@av.it.pt>
Initialize message type list to avoid overrun
Optimize nl_cache_ops_associate by checking protocol early