This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
FastUDPSource -- Click element; creates packets with static UDP/IP/Ethernet headers
FastUDPSource(RATE, LIMIT, LENGTH, SRCETH, SRCIP, SPORT, DSTETH, DSTIP, DPORT [, CHECKSUM, INTERVAL, ACTIVE])
Ports: no inputs, 1 output
Package: linuxmodule (core)
FastUDPSource is a benchmark tool. At initialization time, FastUDPSource creates a UDP/IP packet of length LENGTH (min 60), with source ethernet address SRCETH, source IP address SRCIP, source port SPORT, destination ethernet address DSTETH, destination IP address DSTIP, and destination port DPORT. The UDP checksum is calculated if CHECKSUM is true; it is true by default. Each time the FastUDPSource element is called, it increments the reference count on the skbuff created and returns the skbuff object w/o copying or cloning. Therefore, the packet returned by FastUDPSource should not be modified. FastUDPSource sents packets at RATE packets per second. It will send LIMIT number of packets in total. After FastUDPSource 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 FastUDPSource is ACTIVE. INTERVAL is zero by default. If it is not 0, after INTERVAL number of packets, both sport and dport will be incremented by 1. Checksum will be recomputed.
FastUDPSource(100000, 500000, 60, 0:0:0:0:0:0, 22.214.171.124, 1234, 1:1:1:1:1:1, 126.96.36.199, 1234) -> ToDevice;
Generated by 'click-elem2man' from '../elements/linuxmodule/fastudpsrc.hh:4' on 12/Jul/2011.