netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-net@vger.kernel.org
Subject: Re: kernel module to generate UDP & TCP traffic?
Date: Mon, 15 Apr 2002 17:25:02 -0700	[thread overview]
Message-ID: <3CBB6F5E.7090502@candelatech.com> (raw)
In-Reply-To: 20020415.164308.102569933.davem@redhat.com



David S. Miller wrote:

> net/core/pg3.c


It appears to be net/core/pktgen.c, but I found it :)

After reading through it a few times, I have a few questions:

It appears I can interject spacing between packets, and it also
appears that it will basically busy-spin while waiting.  So, can
I assume it would be a pretty bad idea to configure large times
between packet transmits?  (ie does the nanosleep consume the machine?)

If I wanted this thing to send a packet that would be routed,
I would just set the MAC of the router and the IP of the eventualy
destination, correct?

It appears impossible to run traffic on two interfaces simultaneously
with this module, is that true?

Would you accept a patch that turned many of these counters into 64bit
counters?

Is there any similar module that can receive these packets on the other
side and verify a correct packet was received?

Would you accept a patch that placed timestamps and sequence counters in
the packets for latency detection and packet-drop detection?


Thanks,
Ben

-- 
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-16  0:25 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 [this message]
2002-04-15 23:43 ` Amit Kucheria
2002-04-15 23:52   ` Ben Greear
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=3CBB6F5E.7090502@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=davem@redhat.com \
    --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).