SPDX-License-Identifier: BSD-2-Clause-FreeBSD

Copyright (c) 2023 Baptiste Daroussin <bapt@nours.eu>

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

.Dd Oct 5, 2023 .Dt GENL 1 .Os .Sh NAME .Nm genl .Nd "generic netlink" .Sh SYNOPSIS .Nm

p .Nm Cm list

p .Nm Cm monitor Ao family Ac Ao multicast group Ac .Sh DESCRIPTION The .Nm utility is design to provide access to the user to generic netlink protocols.

p The following commands are available: l -tag -ident t Cm list Po default Pc Lists all available generic netlink protocols, and presents its details: l -tag -width "multicast groups" t operations Id of the operation if any and associated capabilities t multicast groups If of the available multicast group if any and it associated name .El t Cm monitor Ao family Ac Ao multicast group Ac Connect to the .Ar family protocol and subscribe to the .Ar mulicast group then print the received messages in a readable format if the protocol is known. So far only .Qq nlctrl is known. .El .Sh SEE ALSO .Xr genetlink 4 , .Xr netlink 4