libnl/lib
Thomas Graf 65e386c8ba Packet location updates
This patch includes various bugfixes in the packet location parser.
Namely it removes two memory leaks if parsing fails. The parser is
correctly quit if an allocation error occurs and it is no longer
possible to add duplicates.

It removes the possibility to differ between net and host byteorder.
This is better done in the actual classifiers as it makes more sense
to specify this together with the value to compare against.

The patch also extends the API to add new packet locations via
rtnl_pktloc_add().

It introduces reference counting, therefore you now have to give
back packet locations with rtnl_pktloc_put() after looking them up
with rtnl_pktloc_lookup(). But you are allowed to keep using them
if the packet location file has been reread.

The packet location file now also understands "eth", "ip", and
"tcp" for "link", "net", and "transport".

A --list option has been added to nl-pktloc-lookup to list all
packet location definitions

A --u32=VALUE option has been added to let nl-pktloc-lookup print
the definition in iproute2's u32 selector style.

A manual page has been written for nl-pktloc-lookup.

Finally, nl-pktloc-lookup has been made installable.
2010-10-27 01:21:50 +02:00
..
cli nl-cls-* tools 2010-10-26 22:30:02 +02:00
fib_lookup restructure module documentation order 2008-12-10 18:12:30 +01:00
genl Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
netfilter new function nfnl_queue_msg_send_verdict_payload() 2010-03-10 16:02:01 +01:00
route Packet location updates 2010-10-27 01:21:50 +02:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
addr.c restructure module documentation order 2008-12-10 18:12:30 +01:00
attr.c Introduce nla_strdup() to help parse strings attributes 2008-06-13 16:40:41 +02:00
cache.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngr.c add user data to change_func_t for caches 2010-10-13 13:41:57 +02:00
cache_mngt.c restructure module documentation order 2008-12-10 18:12:30 +01:00
data.c restructure module documentation order 2008-12-10 18:12:30 +01:00
doc.c Documentation update 2008-12-03 19:58:41 +01:00
error.c Packet location updates 2010-10-27 01:21:50 +02:00
handlers.c restructure module documentation order 2008-12-10 18:12:30 +01:00
Makefile.am nl-cls-* tools 2010-10-26 22:30:02 +02:00
msg.c Patch for unexpectedly aligned messages 2009-09-02 18:43:03 +02:00
nl.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
object.c Fix rule attribute comparison 2010-04-19 12:43:18 +02:00
socket.c Generic Netlink multicast groups support 2010-10-14 13:46:02 +02:00
utils.c Fix compile warning in utils.c 2010-07-03 15:17:04 +02:00