netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Amit Kucheria <amitk@ittc.ku.edu>
Cc: linux-net <linux-net@vger.kernel.org>
Subject: Re: kernel module to generate UDP & TCP traffic?
Date: Mon, 15 Apr 2002 16:52:39 -0700	[thread overview]
Message-ID: <3CBB67C7.4080905@candelatech.com> (raw)
In-Reply-To: Pine.LNX.4.44.0204151840060.10022-100000@havoc.ittc.ku.edu



Amit Kucheria wrote:

> On Mon, 15 Apr 2002, Ben Greear wrote:
> 
> 
>>I'm considering writing a kernel module that will be used to
>>generate and receive copious amounts of Ethernet, UDP, and TCP
>>traffic.  I would prefer to tweak/use an existing tool if any
>>is available.  Any suggestions?
>>
>>Thanks,
>>Ben
>>
> 
> 
> How about using the tun/tap devices in the 2.4. kernels which can RX/TX 
> Ethernet frames from/to userspace?


I can already send/rcv packets with raw sockets, but the problem is that
causes coppies to/from user space, which not only decreases throughput, but
adds considerable latency.  If I can run the generation down in the kernel,
it will run much faster.


> 
> http://vtun.sourceforge.net
> 
> 


-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear



  reply	other threads:[~2002-04-15 23:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-15 23:36 kernel module to generate UDP & TCP traffic? Ben Greear
2002-04-15 23:43 ` David S. Miller
2002-04-16  0:25   ` Ben Greear
2002-04-15 23:43 ` Amit Kucheria
2002-04-15 23:52   ` Ben Greear [this message]
2002-04-16  6:39   ` injecting packets Vasu
2002-04-16  8:15     ` Avniwb
2002-04-16 22:27     ` Casey Carter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CBB67C7.4080905@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=amitk@ittc.ku.edu \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).