This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
FastUDPFlows -- Click element; creates packets flows with static UDP/IP/Ethernet headers
FastUDPFlows(RATE, LIMIT, LEN,
SRCETH, SRCIP,N<> DSTETH, DSTIP,N<> FLOWS, FLOWSIZE [, CHECKSUM, ACTIVE])
Ports: no inputs, 1 output
Package: linuxmodule (core)
FastUDPFlows is a benchmark tool. At initialization time, FastUDPFlows creates FLOWS number of UDP/IP packets of length LENGTH (min 60), with source ethernet address SRCETH, source IP address SRCIP, destination ethernet address DSTETH, and destination IP address DSTIP. Source and destination ports are randomly generated. The UDP checksum is calculated if CHECKSUM is true; it is true by default. Each time the FastUDPFlows element is called, it selects a flow, increments the reference count on the skbuff created and returns the skbuff object w/o copying or cloning. Therefore, the packet returned by FastUDPFlows should not be modified. FastUDPFlows sents packets at RATE packets per second. It will send LIMIT number of packets in total. Each flow is limited to FLOWSIZE number of packets. After FLOWSIZE number of packets are sent, the sort and dst port will be modified. After FastUDPFlows has sent LIMIT packets, it will calculate the average send rate (packets per second) between the first and last packets sent and make that available in the rate handler. By default FastUDPFlows is ACTIVE.
FastUDPFlows(100000, 500000, 60, 0:0:0:0:0:0, 18.104.22.168, 1234, 1:1:1:1:1:1, 22.214.171.124, 1234, 100, 10) -> ToDevice;
Generated by 'click-elem2man' from '../elements/linuxmodule/fastudpflows.hh:4' on 12/Jul/2011.