]> git.proxmox.com Git - mirror_iproute2.git/blob - man/man8/genl.8
ip-xfrm: Add support for OUTPUT_MARK
[mirror_iproute2.git] / man / man8 / genl.8
1 .TH GENL 8 "29 Oct 2015" "iproute2" "Linux"
2 .SH NAME
3 genl \- generic netlink utility frontend
4 .SH SYNOPSIS
5 .in +8
6 .ti -8
7 .BR genl " [ " -s [ tatistics "] ] [ " -d [ etails "] ] [ " -r [ aw "] ] " OBJECT
8
9 .ti -8
10 .BR genl " { " -V [ ersion "] | " -h [ elp "] }"
11
12 .ti -8
13 .IR OBJECT " := { "
14 .B ctrl
15 .IR CTRL_OPTS " }"
16
17 .ti -8
18 .IR CTRL_OPTS " := { "
19 .BR help " | " list " | " monitor " | " get
20 .IR PARMS " }"
21
22 .ti -8
23 .IR PARMS " := { "
24 .B name
25 .IR NAME " | "
26 .B id
27 .IR ID " }"
28 .SH DESCRIPTION
29 The
30 .B genl
31 utility provides a simple frontend to the generic netlink library. Although it's
32 designed to support multiple
33 .IR OBJECT s,
34 for now only the
35 .B ctrl
36 object is available, which is used to query the generic netlink controller.
37 .SS ctrl
38 The generic netlink controller can be queried in various ways:
39 .TP
40 .B help
41 This command just prints a help text for the
42 .B ctrl
43 object.
44 .TP
45 .B list
46 Show the registered netlink users.
47 .TP
48 .B monitor
49 Listen for generic netlink notifications.
50 .TP
51 .B get
52 Query the controller for a given user, identified either by
53 .BR name " or " id .
54 .SH OPTIONS
55 genl supports the following options.
56 .TP
57 .B \-h, \-help
58 Show summary of options.
59 .TP
60 .B \-V, \-Version
61 Show version of program.
62 .TP
63 .B \-s, \-stats, \-statistics
64 Show object statistics.
65 .TP
66 .B \-d, \-details
67 Show object details.
68 .TP
69 .B \-r, \-raw
70 Dump raw output only.
71 .SH SEE ALSO
72 .BR ip (8)
73 .br
74 .SH AUTHOR
75 genl was written by Jamal Hadi Salim <hadi@cyberus.ca>.
76 .PP
77 This manual page was written by Petr Sabata <contyk@redhat.com>.