Page MenuHomeFreeBSD

dummynet: Move packet counters into dn_cfg
ClosedPublic

Authored by kp on Sat, Mar 13, 9:41 AM.

Details

Summary

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.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.