Page MenuHomeFreeBSD

pflow: Turn `pflowstats' statistics counters into per-CPU counters to make them mpsafe.
ClosedPublic

Authored by kp on Dec 19 2023, 10:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 4:17 PM
Unknown Object (File)
Sat, Apr 25, 3:11 AM
Unknown Object (File)
Thu, Apr 23, 1:28 AM
Unknown Object (File)
Sun, Apr 19, 4:00 PM
Unknown Object (File)
Mon, Apr 13, 11:28 PM
Unknown Object (File)
Mon, Apr 13, 11:22 PM
Unknown Object (File)
Mon, Apr 6, 7:52 AM
Unknown Object (File)
Mar 17 2026, 7:20 AM

Details

Summary

The weird interactions around pflow_flows' and sc_gcounter' replaced
by simple `pflow_flows' increment. Since the flow sequence is the 32
bits integer, the `sc_gcounter' type replaced by the type of uint32_t.

Obtained from: OpenBSD
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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