packet generator

Andre Oppermann andre at freebsd.org
Fri Sep 10 17:32:14 PDT 2004


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


More information about the freebsd-net mailing list