Page MenuHomeFreeBSD

pkt-gen: Allow limiting received packets
ClosedPublic

Authored by allanjude on May 14 2021, 8:59 PM.
Tags
None
Referenced Files
F102447191: D30266.diff
Tue, Nov 12, 9:58 AM
Unknown Object (File)
Tue, Nov 5, 7:40 PM
Unknown Object (File)
Mon, Nov 4, 3:14 PM
Unknown Object (File)
Fri, Nov 1, 2:55 AM
Unknown Object (File)
Mon, Oct 21, 11:50 AM
Unknown Object (File)
Sep 25 2024, 1:34 AM
Unknown Object (File)
Sep 25 2024, 1:32 AM
Unknown Object (File)
Sep 24 2024, 5:42 PM
Subscribers

Details

Summary

Makes pkg-gen quit after having received N packets, the same way it
already supports doing for sent packets.

Sponsored by: Klara Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39197
Build 36086: arc lint + arc unit

Event Timeline

Looks good, thanks! However, we should add the same control for the DEV_TAP at line 1860.

This revision now requires changes to proceed.May 15 2021, 7:58 AM

Address review feedback

add support for limiting recv count in TAP and PCAP mode

This revision is now accepted and ready to land.May 18 2021, 7:52 PM
This revision was automatically updated to reflect the committed changes.