Page MenuHomeFreeBSD

pkt-gen: Allow limiting received packets
ClosedPublic

Authored by allanjude on May 14 2021, 8:59 PM.
Tags
None
Referenced Files
F120093393: D30266.id89643.diff
Sun, Jun 15, 12:36 AM
Unknown Object (File)
Mon, Jun 9, 6:49 AM
Unknown Object (File)
Fri, Jun 6, 5:17 AM
Unknown Object (File)
Wed, Jun 4, 12:56 PM
Unknown Object (File)
Mon, Jun 2, 2:30 PM
Unknown Object (File)
Fri, May 23, 3:26 PM
Unknown Object (File)
May 13 2025, 2:03 PM
Unknown Object (File)
Apr 23 2025, 2:31 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.