1genl-ctrl-list(8) System Manager's Manual genl-ctrl-list(8)
2
3
4
6 genl-ctrl-list - List available kernel-side Generic Netlink families
7
9 genl-ctrl-list [-d]
10
11
13 Queries the Generic Netlink controller in kernel and prints a list of
14 all registered Generic Netlink families including the version of the
15 interface that has been registered.
16
17
19 -h or --help
20 Print help text to console and exit.
21
22 -v or --version
23 Print versioning information to console and exit.
24
25 -d or --details
26 Include additional detailed information for each Generic Netlink
27 family that is printed.
28
29 The information includes:
30
31
32 hdrsize N
33 The size of the user specific header.
34
35
36 maxattr N
37 The maximum Netlink attribute identifier expected by the
38 interface.
39
40
41 op NAME (ID) <FLAGS>
42 A list of available operations including their name,
43 numeric identifier and the flags indicating the capabiliā
44 ties of the opertion.
45
46 Available flags:
47
48 admin-perm
49 Requires administrative privileges
50
51
52 has-doit
53 Command can handle request
54
55
56 has-dump
57 Command can handle a dump request
58
59
60 has-policy
61 Command enforces attribute validation policy
62
63
64 grp NAME (ID)
65 A list of registered multicast groups including name (if
66 available) and identifier.
67
68 Example:
69 0x0010 nlctrl version 2
70 hdrsize 0 maxattr 7
71 op GETFAMILY (0x03) <has-doit,has-dump,has-policy>
72 grp notify (0x10)
73
74
75
77 $ genl-ctrl-list
78 0x0010 nlctrl version 2
79 0x0011 NLBL_MGMT version 3
80 0x0012 NLBL_CIPSOv4 version 3
81 0x0013 NLBL_UNLBL version 3
82 0x0014 acpi_event version 1
83 0x0015 thermal_event version 1
84 0x0016 VFS_DQUOT version 1
85 0x0017 TASKSTATS version 1
86 0x0018 NET_DM version 2
87
88
90 Thomas Graf is the original author and current maintainer of libnl and
91 libnl tools. Many people have contributed to it since.
92
93
94
95libnl 20 April 2012 genl-ctrl-list(8)