HomeFreeBSD

genl: add a monitor subcommand

Description

genl: add a monitor subcommand

usage:
$ genl monitor <family> <multicats group>

this subcommand allows to monitor the message from a multicast group
of a given family when received.

If it knows how to parse the messages received it will dump the decoded
version, otherwise it will just inform a new message has been received

So far it only knows how to parse nlctrl notify messages, but the plan
to allow to make the parsing extensible via lua scripts

Differential Revision: https://reviews.freebsd.org/D40372

Details

Provenance
baptAuthored on Oct 5 2023, 10:51 AM
Differential Revision
D40372: genl: add the monitor subcommand
Parents
rG956a46311462: if_ovpn tests: fix ra test
Branches
Unknown
Tags
Unknown