This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
FromDump -- Click element; reads packets from a tcpdump file
FromDump(FILENAME [, keywords TIMING, STOP, SAMPLE, FORCE_IP, START, START_AFTER, END, END_AFTER, INTERVAL, END_CALL, FILEPOS])
Ports: no inputs, 1-2 outputs
Processing: agnostic, but output 1 is push
Drivers: userlevel, ns
Package: userlevel (core)
Reads packets from a file produced by `tcpdump -w FILENAME' or ToDump. Pushes them out the output, and optionally stops the driver when there are no more packets. If TIMING is true, then FromDump tries to maintain the timing of the original packet stream. TIMING is false by default. FromDump also transparently reads gzip- and bzip2-compressed tcpdump files, if you have zcat(1) and bzcat(1) installed. Keyword arguments are:
sampling_prob handler to find out the actual probability.active' handler is written). Default is true.By default, `tcpdump -w FILENAME' dumps only the first 68 bytes of each packet. You probably want to run `tcpdump -w FILENAME -s 2000' or some such. FromDump sets packets' extra length annotations to any additional length recorded in the dump. FromDump is a notifier signal, active when the element is active and the dump contains more packets. If FromDump uses mmap, then a corrupt file might cause Click to crash with a segmentation violation.
ToDump, FromDevice.u, ToDevice.u, tcpdump, mmap, AggregateIPFlows, FromTcpdump
Generated by 'click-elem2man' from '../elements/userlevel/fromdump.hh' on 24/May/2007.