HomeFreeBSD

dummynet: Move packet counters into dn_cfg

Description

dummynet: Move packet counters into dn_cfg

Move the packets counters into the dn_cfg struct. This reduces the
global name space use for dummynet and will make future work for things
like vnet support and re-use in pf easier.

Reviewed by: donner
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29245

Details

Provenance
kpAuthored on Mar 9 2021, 3:27 PM
Reviewer
donner
Differential Revision
D29245: dummynet: Move packet counters into dn_cfg
Parents
rGdf7549775c4e: Replace the arm64 initial_fpcr with a macro
Branches
Unknown
Tags
Unknown