dect
/
libnl
Archived
13
0
Fork 0

genl: Update genl-ctrl-list(8)

This commit is contained in:
Thomas Graf 2012-06-01 13:10:03 +02:00
parent 8fad2e3194
commit 43eab4696d
1 changed files with 43 additions and 18 deletions

View File

@ -1,13 +1,13 @@
.TH genl\-ctrl-list 8 "20 April 2012" "libnl" .TH genl\-ctrl-list 8 "20 April 2012" "libnl"
.SH NAME .SH NAME
genl\-ctrl\-list \- List available kernel-side generic netlink families genl\-ctrl\-list \- List available kernel-side Generic Netlink families
.SH SYNOPSIS .SH SYNOPSIS
.B genl\-ctrl\-list [-d] .B genl\-ctrl\-list [-d]
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
Queries the generic netlink controller in kernel and prints a list of all Queries the Generic Netlink controller in kernel and prints a list of all
registered generic netlink families including the version of the interface registered Generic Netlink families including the version of the interface
that has been registered. that has been registered.
.SH OPTIONS .SH OPTIONS
@ -19,28 +19,53 @@ Print help text to console and exit.
Print versioning information to console and exit. Print versioning information to console and exit.
.TP .TP
.BR \-\^d " or " \-\-details .BR \-\^d " or " \-\-details
Include additional detailed information for each generic netlink Include additional detailed information for each Generic Netlink
family that is printed. family that is printed.
The information includes: The information includes:
.RS .RS
.IP \(bu .TP
The size of the family specific netlink message header (hdrsize). .B hdrsize N
.IP \(bu The size of the user specific header.
The maximum netlink attribute identifier allowed by the interface
(maxattr). .TP
.IP \(bu .B maxattr N
A list of registered generic netlink operations prefixed with op The maximum Netlink attribute identifier expected by the interface.
including their name (if available), identifier and the flags
indicating the availability of a doit or dump function. .TP
.IP \(bu .B op NAME (ID) <FLAGS>
A list of registered multicast groups prefixed with grp including A list of available operations including their name, numeric identifier
their name (if available) and identifier. and the flags indicating the capabilities of the opertion.
Available flags:
.RS
.TP
.I admin-perm
Requires administrative privileges
.TP
.I has-doit
Command can handle request
.TP
.I has-dump
Command can handle a dump request
.TP
.I has-policy
Command enforces attribute validation policy
.RE
.TP
.B grp NAME (ID)
A list of registered multicast groups including name (if available)
and identifier.
.RE .RE
.RS .RS
Example: .B Example:
.RS
0x0010 nlctrl version 2 0x0010 nlctrl version 2
.RS 0 .RS 0
hdrsize 0 maxattr 7 hdrsize 0 maxattr 7