Page MenuHomeFreeBSD

pf: add a way to list creator ids
ClosedPublic

Authored by kp on Oct 5 2023, 3:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 1:02 PM
Unknown Object (File)
Sun, Feb 8, 1:16 AM
Unknown Object (File)
Tue, Feb 3, 2:55 PM
Unknown Object (File)
Fri, Jan 30, 9:16 PM
Unknown Object (File)
Dec 30 2025, 2:15 AM
Unknown Object (File)
Nov 17 2025, 11:45 AM
Unknown Object (File)
Nov 15 2025, 4:12 PM
Unknown Object (File)
Nov 13 2025, 5:48 PM

Details

Summary

Allow userspace to retrieve a list of distinct creator ids for the
current states.

This is used by pfSense, and used to require dumping all states to
userspace. It's rather inefficient to export a (potentially extremely
large) state table to obtain a handful (typically 2) of 32-bit integers.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

kp requested review of this revision.Oct 5 2023, 3:49 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 10 2023, 9:50 AM
This revision was automatically updated to reflect the committed changes.