man-pages/man8/genl.8.html
2021-03-31 01:06:50 +01:00

160 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GENL</TITLE>
</HEAD><BODY>
<H1>GENL</H1>
Section: Linux (8)<BR>Updated: 29 Oct 2015<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
genl - generic netlink utility frontend
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<BR>
<B>genl</B> [ <B>-s</B>[<B>tatistics</B>] ] [ <B>-d</B>[<B>etails</B>] ] [ <B>-r</B>[<B>aw</B>] ] <B>OBJECT</B>
<P>
<BR>
<B>genl</B> { <B>-V</B>[<B>ersion</B>] | <B>-h</B>[<B>elp</B>] }
<P>
<BR>
<I>OBJECT</I> := {
<B>ctrl</B>
<I>CTRL_OPTS</I> }
<P>
<BR>
<I>CTRL_OPTS</I> := {
<B>help</B> | <B>list</B> | <B>monitor</B> | <B>get</B>
<I>PARMS</I> }
<P>
<BR>
<I>PARMS</I> := {
<B>name</B>
<I>NAME</I> |
<B>id</B>
<I>ID</I> }
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B>genl</B>
utility provides a simple frontend to the generic netlink library. Although it's
designed to support multiple
<I>OBJECT</I>s,
for now only the
<B>ctrl</B>
object is available, which is used to query the generic netlink controller.
<A NAME="lbAE">&nbsp;</A>
<H3>ctrl</H3>
The generic netlink controller can be queried in various ways:
<DL COMPACT>
<DT id="1"><B>help</B>
<DD>
This command just prints a help text for the
<B>ctrl</B>
object.
<DT id="2"><B>list</B>
<DD>
Show the registered netlink users.
<DT id="3"><B>monitor</B>
<DD>
Listen for generic netlink notifications.
<DT id="4"><B>get</B>
<DD>
Query the controller for a given user, identified either by
<B>name</B> or <B>id</B>.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>OPTIONS</H2>
genl supports the following options.
<DL COMPACT>
<DT id="5"><B>-h, -help</B>
<DD>
Show summary of options.
<DT id="6"><B>-V, -Version</B>
<DD>
Show version of program.
<DT id="7"><B>-s, -stats, -statistics</B>
<DD>
Show object statistics.
<DT id="8"><B>-d, -details</B>
<DD>
Show object details.
<DT id="9"><B>-r, -raw</B>
<DD>
Dump raw output only.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+ip">ip</A></B>(8)
<BR>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
genl was written by Jamal Hadi Salim &lt;<A HREF="mailto:hadi@cyberus.ca">hadi@cyberus.ca</A>&gt;.
<P>
This manual page was written by Petr Sabata &lt;<A HREF="mailto:contyk@redhat.com">contyk@redhat.com</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DL>
<DT id="13"><A HREF="#lbAE">ctrl</A><DD>
</DL>
<DT id="14"><A HREF="#lbAF">OPTIONS</A><DD>
<DT id="15"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="16"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:12 GMT, March 31, 2021
</BODY>
</HTML>