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

(cherry picked from commit cd5671efc0190ba0f9eb41bba42e703277af20c3)

Details

Provenance
kpAuthored on Mar 9 2021, 3:27 PM
Reviewer
donner
Differential Revision
D29245: dummynet: Move packet counters into dn_cfg
Parents
rG9d7eb557c157: AMD-vi: Mixed format IVHD block should replace fixed format IVHD block
Branches
Unknown
Tags
Unknown