Advanced TCP traffic generator
Packet capture support for the Flowgrind daemon. More...
|void||fg_pcap_go (struct flow *flow)|
|Start a tcpdump to capture traffic of the provided flow. More...|
|Initialize flowgrind's pcap library. More...|
Packet capture support for the Flowgrind daemon.
Definition in file fg_pcap.h.
|void fg_pcap_go||(||struct flow *||flow||)|
Start a tcpdump to capture traffic of the provided flow.
If the flow was not configured for tcp dumping or dumping is already in progress the method will do nothing and return immediately. Otherwise the method blocks until the actual capturing starts. In case an error occurs a log message is created.
|[in]||flow||the flow whose traffic should be captured|
Initialize flowgrind's pcap library.
This method fills internal structures on which other methods of this library depend. It is therefore crucial to call it before any call to other methods of this library.