Ethereal-dev: [ethereal-dev] Sending raw packets

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxx (Guy Harris)
Date: Tue, 5 Jan 1999 17:06:12 -0800 (PST)
I don't know what the best solution for your problem is, but:

> I want to generate a constant load on the network, sending out arbitrary
> packets.

What mechanism are you planning on using to send the packets?

The mechanism for sending raw network packets is platform-dependent,
just as the mechanism for receiving them is; unfortunately, while
"libpcap" has an abstraction to hide platform dependencies for the
latter function, it has no support for the former function - when we
make "wiretap" capable of reading raw packets, we may want to make it
capable of sending them as well, so we can provide a
platform-independent abstraction for both functions.