libnl/lib/route
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
..
cls nl-cls-* tools 2010-10-26 22:30:02 +02:00
link Remove old line counting while dumping 2008-05-23 23:45:14 +02:00
sch Unified TC attributes interface 2010-10-26 12:54:33 +02:00
.gitignore Let git ignore generated pktloc source files 2010-07-03 15:56:07 +02:00
addr.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
class.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
class_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
class_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
classid.c classid database 2010-10-19 16:31:23 +02:00
cls.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
cls_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
cls_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
link.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
neigh.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
neightbl.c Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK 2008-10-20 13:12:13 +02:00
nexthop.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
pktloc.c Packet location updates 2010-10-27 01:21:50 +02:00
pktloc_grammar.l Packet location updates 2010-10-27 01:21:50 +02:00
pktloc_syntax.y Packet location updates 2010-10-27 01:21:50 +02:00
qdisc.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
qdisc_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
qdisc_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
route.c Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK 2008-10-20 13:12:13 +02:00
route_obj.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
route_utils.c Big routing code rework (API/ABI BREAK!) 2008-04-29 23:31:30 +02:00
rtnl.c restructure module documentation order 2008-12-10 18:12:30 +01:00
rule.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
tc.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00