Blame man/nl-classid-lookup.8
|
Packit |
51cea0 |
.TH nl\-classid\-lookup 8 "19 October 2010" "libnl"
|
|
Packit |
51cea0 |
.SH NAME
|
|
Packit |
51cea0 |
nl\-classid\-lookup - Lookup classid definitions
|
|
Packit |
51cea0 |
.SH SYNOPSIS
|
|
Packit |
51cea0 |
.B nl\-classid\-lookup
|
|
Packit |
51cea0 |
.RB [ \-hv ]
|
|
Packit |
51cea0 |
.RB [ \-r ]
|
|
Packit |
51cea0 |
.RB [ \-\-raw ]
|
|
Packit |
51cea0 |
.I name
|
|
Packit |
51cea0 |
|
|
Packit |
51cea0 |
.SH DESCRIPTION
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
nl\-classid\-lookup searches the classid database for a matching entry. It is used
|
|
Packit |
51cea0 |
to resolve qdisc/class names to classid values and vice versa.
|
|
Packit |
51cea0 |
|
|
Packit |
51cea0 |
.SH OPTIONS
|
|
Packit |
51cea0 |
.TP
|
|
Packit |
51cea0 |
.BR \-\^h " or " \-\-help
|
|
Packit |
51cea0 |
Print help text to console and exit.
|
|
Packit |
51cea0 |
.TP
|
|
Packit |
51cea0 |
.BR \-\^v " or " \-\-version
|
|
Packit |
51cea0 |
Print versioning information to console and exit.
|
|
Packit |
51cea0 |
.TP
|
|
Packit |
51cea0 |
.BR \-\^r " or " \-\-reverse
|
|
Packit |
51cea0 |
Do a reverse lookup. Lookup a classid and print its name.
|
|
Packit |
51cea0 |
.TP
|
|
Packit |
51cea0 |
.B \-\-raw
|
|
Packit |
51cea0 |
Print the raw classid in hexadecimal format, do not pretty print it.
|
|
Packit |
51cea0 |
|
|
Packit |
51cea0 |
.SH USAGE
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
Resolve the qdisc/class name "interactive":
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
.RS
|
|
Packit |
51cea0 |
# nl\-classid\-lookup interactive
|
|
Packit |
51cea0 |
.RE
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
Lookup the name of classid 1:2:
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
.RS
|
|
Packit |
51cea0 |
# nl\-classid\-lookup -r 1:2
|
|
Packit |
51cea0 |
.RE
|
|
Packit |
51cea0 |
|
|
Packit |
51cea0 |
.SH FILES
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
/etc/libnl/classid
|
|
Packit |
51cea0 |
|
|
Packit |
51cea0 |
.SH AUTHOR
|
|
Packit |
51cea0 |
.PP
|
|
Packit |
51cea0 |
Thomas Graf is the original author and current maintainer of libnl and
|
|
Packit |
51cea0 |
libnl tools. Many people have contributed to it since.
|