HomeFreeBSD

libpfctl: implement status counter accessor functions

Description

libpfctl: implement status counter accessor functions

The new nvlist-based status call allows us to easily add new counters.
However, the libpfctl interface defines a TAILQ, so it's not quite
trivial to find the counter consumers are interested in.

Provide convenience functions to access the counters.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41649

Details

Provenance
kpAuthored on Aug 29 2023, 3:04 PM
Differential Revision
D41649: libpfctl: implement status counter accessor functions
Parents
rG0b01878fd00b: libpfctl: allow pfctl_free_status(NULL)
Branches
Unknown
Tags
Unknown