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 STOP, TIMING, SAMPLE, FORCE_IP, START, START_AFTER, END, END_AFTER, INTERVAL, END_CALL, FILEPOS, MMAP])
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 and emits them from the output, optionally stopping the driver when there are no more packets. 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.
filepos.ToDump, FromDevice.u, ToDevice.u, tcpdump, mmap, AggregateIPFlows, FromTcpdump
Generated by 'click-elem2man' from '../elements/userlevel/fromdump.hh' on 7/Mar/2009.