HomeFreeBSD

pkt-gen: Allow limiting received packets

Description

pkt-gen: Allow limiting received packets

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

Reviewed by: vmaffione
Sponsored by: Klara Inc.
MFC after: 4 weeks
Differential Revision: https://reviews.freebsd.org/D30266

(cherry picked from commit 20d684ecc9d7d9128774f2e3c287058868f48bb0)

netmap: pkt-gen: fix compilation issue

Remove stray characters preventing the source code from being
compiled.

Fixes: 20d684ecc9d7 ("pkt-gen: Allow limiting received packets").
Submitted by: ar_semihalf.com
Reviewed by: vmaffione
Differential Revision: https://reviews.freebsd.org/D###

(cherry picked from commit 950cf4a29a8e11962cf4672311f685af590c106e)

Details

Provenance
allanjudeAuthored on May 17 2021, 11:04 PM
vmaffioneCommitted on Dec 31 2022, 2:32 PM
Reviewer
vmaffione
Differential Revision
D30266: pkt-gen: Allow limiting received packets
Parents
rGbdf79b356216: netmap: drop compatibility FreeBSD code
Branches
Unknown
Tags
Unknown