Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 01:32:14 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-net@freebsd.org
Subject:   Re: packet generator
Message-ID:  <4142397E.A167AE94@freebsd.org>
References:  <16706.13257.676586.513738@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote:
> 
> Does anybody have a free, in-kernel tool to generate packets quicky
> and send them out a particular etherent interface on FreeBSD?
> Something similar to pktgen on linux?
> 
> I'm trying to excersize just the send-side of programmable firmware
> based NIC.  The recieve side of the NIC firmware is not yet written,
> but I want to get started tuning and shaking the bugs out of the send
> side while the firmware author does the recieve path.  The packets
> just get dropped on the floor by the NIC, so its a good way to test
> the interface..
> 
> I can add an arp entry and ping -l HUGEVAL, but that only generates 205K
> pkts/sec (where *think* I see 1.1 million pkts/sec with pktgen on
> linux, but I'm not sure I trust it).

netgraph/ng_source.c

Doesn't have a man page though.

-- 
Andre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4142397E.A167AE94>