blob: 3cf13de97d544f3d62e2a9702a28562621904756 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001.TH nl\-classid\-lookup 8 "19 October 2010" "libnl"
2.SH NAME
3nl\-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
13nl\-classid\-lookup searches the classid database for a matching entry. It is used
14to resolve qdisc/class names to classid values and vice versa.
15
16.SH OPTIONS
17.TP
18.BR \-\^h " or " \-\-help
19Print help text to console and exit.
20.TP
21.BR \-\^v " or " \-\-version
22Print versioning information to console and exit.
23.TP
24.BR \-\^r " or " \-\-reverse
25Do a reverse lookup. Lookup a classid and print its name.
26.TP
27.B \-\-raw
28Print the raw classid in hexadecimal format, do not pretty print it.
29
30.SH USAGE
31.PP
32Resolve the qdisc/class name "interactive":
33.PP
34.RS
35# nl\-classid\-lookup interactive
36.RE
37.PP
38Lookup 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
50Thomas Graf is the original author and current maintainer of libnl and
51libnl tools. Many people have contributed to it since.