mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2025-02-02 17:16:30 +00:00
genl: Update genl-ctrl-list(8)
This commit is contained in:
parent
8fad2e3194
commit
43eab4696d
@ -1,13 +1,13 @@
|
||||
.TH genl\-ctrl-list 8 "20 April 2012" "libnl"
|
||||
.SH NAME
|
||||
genl\-ctrl\-list \- List available kernel-side generic netlink families
|
||||
genl\-ctrl\-list \- List available kernel-side Generic Netlink families
|
||||
.SH SYNOPSIS
|
||||
.B genl\-ctrl\-list [-d]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Queries the generic netlink controller in kernel and prints a list of all
|
||||
registered generic netlink families including the version of the interface
|
||||
Queries the Generic Netlink controller in kernel and prints a list of all
|
||||
registered Generic Netlink families including the version of the interface
|
||||
that has been registered.
|
||||
|
||||
.SH OPTIONS
|
||||
@ -19,28 +19,53 @@ Print help text to console and exit.
|
||||
Print versioning information to console and exit.
|
||||
.TP
|
||||
.BR \-\^d " or " \-\-details
|
||||
Include additional detailed information for each generic netlink
|
||||
Include additional detailed information for each Generic Netlink
|
||||
family that is printed.
|
||||
|
||||
The information includes:
|
||||
|
||||
.RS
|
||||
.IP \(bu
|
||||
The size of the family specific netlink message header (hdrsize).
|
||||
.IP \(bu
|
||||
The maximum netlink attribute identifier allowed by the interface
|
||||
(maxattr).
|
||||
.IP \(bu
|
||||
A list of registered generic netlink operations prefixed with op
|
||||
including their name (if available), identifier and the flags
|
||||
indicating the availability of a doit or dump function.
|
||||
.IP \(bu
|
||||
A list of registered multicast groups prefixed with grp including
|
||||
their name (if available) and identifier.
|
||||
.TP
|
||||
.B hdrsize N
|
||||
The size of the user specific header.
|
||||
|
||||
.TP
|
||||
.B maxattr N
|
||||
The maximum Netlink attribute identifier expected by the interface.
|
||||
|
||||
.TP
|
||||
.B op NAME (ID) <FLAGS>
|
||||
A list of available operations including their name, numeric 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
|
||||
|
||||
.RS
|
||||
Example:
|
||||
|
||||
.B Example:
|
||||
.RS
|
||||
0x0010 nlctrl version 2
|
||||
.RS 0
|
||||
hdrsize 0 maxattr 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user