Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Haller
bee04e40f3 build: merge man/Makefile.am into top-level makefile 2017-02-27 13:20:34 +01:00
Thomas Graf
43eab4696d genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
Thomas Graf
5399b3d192 genl-ctrl-list: Provide manual page 2012-04-20 15:19:41 +02:00
Thomas Graf
83ab0ae85f man: Remove bogus .LO macro in manpages
Signed-off-by: Thomas Graf <tgraf@redhat.com>
2012-01-17 12:45:06 +01:00
Thomas Graf
df36c25bbf nl-classid-lookup: Added --raw option to print classid without pretty printing it 2010-11-01 15:20:43 +01:00
Thomas Graf
54e2539ce1 nl-qdisc-list: --recursive - print tc objects recursively 2010-11-01 13:41:57 +01:00
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
Thomas Graf
3a96527f24 nl-qdisc-add(8), nl-qdisc-delete(8), nl-qdisc-list(8) 2010-10-21 16:14:15 +02:00
Thomas Graf
757592ec1b classid database
A database to resolve qdisc/class names to classid values and vice versa.
The function rtnl_tc_handle2str() and rtnl_tc_str2handle() will resolve
names automatically.

A CLI based tool nl-classid-lookup is provided to integrate the database
into existing iproute2 scripts.
2010-10-19 16:31:23 +02:00