From 43eab4696dc1ce3002238147e2aa099f3a0f7e3a Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 1 Jun 2012 13:10:03 +0200 Subject: [PATCH] genl: Update genl-ctrl-list(8) --- man/genl-ctrl-list.8 | 61 +++++++++++++++++++++++++++++++------------- 1 file changed, 43 insertions(+), 18 deletions(-) diff --git a/man/genl-ctrl-list.8 b/man/genl-ctrl-list.8 index a8aa3f9..6132475 100644 --- a/man/genl-ctrl-list.8 +++ b/man/genl-ctrl-list.8 @@ -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) +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