Page MenuHomeFreeBSD

libpfctl: implement status counter accessor functions
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 2:34 AM
Unknown Object (File)
Sat, Feb 8, 7:21 AM
Unknown Object (File)
Tue, Feb 4, 2:18 AM
Unknown Object (File)
Thu, Jan 30, 9:27 AM
Unknown Object (File)
Tue, Jan 28, 9:45 PM
Unknown Object (File)
Sun, Jan 26, 6:17 PM
Unknown Object (File)
Nov 8 2024, 11:27 AM
Unknown Object (File)
Nov 8 2024, 9:41 AM
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