Manpages - genl-ctrl-list.8

Table of Contents

NAME

genl-ctrl-list - List available kernel-side Generic Netlink families

SYNOPSIS

genl-ctrl-list [-d]

DESCRIPTION

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.

OPTIONS

- h or –help
Print help text to console and exit.
- v or –version
Print versioning information to console and exit.
- d or –details
Include additional detailed information for each Generic Netlink family that is printed.

The information includes:

hdrsize N
The size of the user specific header.
maxattr N
The maximum Netlink attribute identifier expected by the interface.
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:

#+begin_quote

admin-perm
Requires administrative privileges
has-doit
Command can handle request
has-dump
Command can handle a dump request
has-policy
Command enforces attribute validation policy
grp NAME (ID)
A list of registered multicast groups including name (if available) and identifier.

#+end_quote

Example:

#+begin_quote 0x0010 nlctrl version 2

#+begin_quote hdrsize 0 maxattr 7

#+begin_quote op GETFAMILY (0x03) <has-doit,has-dump,has-policy>

#+begin_quote grp notify (0x10)

#+end_quote #+end_quote #+end_quote #+end_quote

EXAMPLE

$ genl-ctrl-list

#+begin_quote 0x0010 nlctrl version 2

#+begin_quote 0x0011 NLBL_MGMT version 3

#+begin_quote 0x0012 NLBL_CIPSOv4 version 3

#+begin_quote 0x0013 NLBL_UNLBL version 3

#+begin_quote 0x0014 acpi_event version 1

#+begin_quote 0x0015 thermal_event version 1

#+begin_quote 0x0016 VFS_DQUOT version 1

#+begin_quote 0x0017 TASKSTATS version 1

#+begin_quote 0x0018 NET_DM version 2

#+end_quote #+end_quote #+end_quote #+end_quote #+end_quote #+end_quote #+end_quote #+end_quote #+end_quote

AUTHOR

Thomas Graf is the original author and current maintainer of libnl and libnl tools. Many people have contributed to it since.

Author: dt

Created: 2022-02-20 Sun 09:50