Re: kernel module to generate UDP & TCP traffic?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux