lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | .TH nl\-classid\-lookup 8 "19 October 2010" "libnl" |
| 2 | .SH NAME |
| 3 | nl\-classid\-lookup - Lookup classid definitions |
| 4 | .SH SYNOPSIS |
| 5 | .B nl\-classid\-lookup |
| 6 | .RB [ \-hv ] |
| 7 | .RB [ \-r ] |
| 8 | .RB [ \-\-raw ] |
| 9 | .I name |
| 10 | |
| 11 | .SH DESCRIPTION |
| 12 | .PP |
| 13 | nl\-classid\-lookup searches the classid database for a matching entry. It is used |
| 14 | to resolve qdisc/class names to classid values and vice versa. |
| 15 | |
| 16 | .SH OPTIONS |
| 17 | .TP |
| 18 | .BR \-\^h " or " \-\-help |
| 19 | Print help text to console and exit. |
| 20 | .TP |
| 21 | .BR \-\^v " or " \-\-version |
| 22 | Print versioning information to console and exit. |
| 23 | .TP |
| 24 | .BR \-\^r " or " \-\-reverse |
| 25 | Do a reverse lookup. Lookup a classid and print its name. |
| 26 | .TP |
| 27 | .B \-\-raw |
| 28 | Print the raw classid in hexadecimal format, do not pretty print it. |
| 29 | |
| 30 | .SH USAGE |
| 31 | .PP |
| 32 | Resolve the qdisc/class name "interactive": |
| 33 | .PP |
| 34 | .RS |
| 35 | # nl\-classid\-lookup interactive |
| 36 | .RE |
| 37 | .PP |
| 38 | Lookup the name of classid 1:2: |
| 39 | .PP |
| 40 | .RS |
| 41 | # nl\-classid\-lookup -r 1:2 |
| 42 | .RE |
| 43 | |
| 44 | .SH FILES |
| 45 | .PP |
| 46 | /etc/libnl/classid |
| 47 | |
| 48 | .SH AUTHOR |
| 49 | .PP |
| 50 | Thomas Graf is the original author and current maintainer of libnl and |
| 51 | libnl tools. Many people have contributed to it since. |