Page MenuHomeFreeBSD

pf tests: extend ethernet dummynet test
ClosedPublic

Authored by kp on May 19 2022, 5:00 PM.
Tags
None
Referenced Files
F105571641: D35258.diff
Tue, Dec 17, 7:32 PM
Unknown Object (File)
Wed, Dec 4, 11:20 PM
Unknown Object (File)
Thu, Nov 28, 1:59 AM
Unknown Object (File)
Sep 28 2024, 6:19 PM
Unknown Object (File)
Sep 17 2024, 5:02 PM
Unknown Object (File)
Sep 9 2024, 3:10 PM
Unknown Object (File)
Sep 3 2024, 6:57 PM
Unknown Object (File)
Aug 21 2024, 9:33 PM

Details

Summary

Extend the existing ethernet dummynet test to also test dummynet on the
outbound direction.
This used to be a problem as traffic shaping wasn't done in the ethernet
code. It merely tagged the packet and left shaping up to the layer 3 pf
code. This works in the inbound direction, but not for outbound traffic
where we hit the L3 code first and only then the L2 code.

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

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2022, 12:52 PM
This revision was automatically updated to reflect the committed changes.