This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
FastUDPSource.b -- Click element; creates packets with static UDP/IP/Ethernet headers
FastUDPSource(RATE, LIMIT, LEN, SETHADDR, SIPADDR, SPORT, DETHADDR, DIPADDR, DPORT [, CHECKSUM?, INTERVAL, ACTIVE])
Ports: no inputs, 1 output
Package: bsdmodule (core)
FastUDPSource is a benchmark tool. At initialization time, FastUDPSource creates a UDP/IP packet of length LEN (min 60), with source ethernet address SETHADDR, source IP address SIPADDR, source port SPORT, destination ethernet address DETHADDR, destination IP address DIPADDR, 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. PACKET is zero by default. If it is not 0, after PACKET 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, 126.96.36.199, 1234, 1:1:1:1:1:1, 188.8.131.52, 1234) -> ToDevice;
Generated by 'click-elem2man' from '../elements/bsdmodule/fastudpsrc.hh:4' on 12/Jul/2011.