![]() |
Flowgrind
Advanced TCP traffic generator
|
Packet capture support for the Flowgrind daemon. More...
Go to the source code of this file.
Functions | |
void | fg_pcap_go (struct flow *flow) |
Start a tcpdump to capture traffic of the provided flow. More... | |
int | fg_pcap_init (void) |
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 |
Definition at line 314 of file fg_pcap.c.
int fg_pcap_init | ( | void | ) |