Page MenuHomeFreeBSD

libpfctl: implement status counter accessor functions
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
F167573857: D41649.id126721.diff
Sat, Aug 22, 7:16 PM
F167546814: D41649.id126678.diff
Sat, Aug 22, 2:56 PM
F167544251: D41649.id.diff
Sat, Aug 22, 2:39 PM
F167539293: D41649.diff
Sat, Aug 22, 2:03 PM
Unknown Object (File)
Thu, Aug 20, 11:24 PM
Unknown Object (File)
Wed, Aug 19, 12:33 PM
Unknown Object (File)
Thu, Aug 13, 6:44 PM
Unknown Object (File)
Wed, Aug 12, 11:09 PM
Subscribers

Details

Summary

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")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable