(/home/sate/Testcases/c/cve/wireshark-1.2.0/dumpcap.c) |
| |
| 1635 | | | capture_loop_close_output(capture_options *capture_opts, loop_data *ld, int *err_close) { |
| 1636 | | | |
| 1637 | | | g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "capture_loop_close_output");
x /home/sate/Testcases/c/cve/wireshark-1.2.0/log.h |
| |
32 | #define LOG_DOMAIN_CAPTURE_CHILD "CaptureChild" |
| |
|
| 1638 | | | |
| 1639 | | | if (capture_opts->multi_files_on) { |
Event 2:
Taking false branch. capture_opts->multi_files_on evaluates to false.
hide
|
|
| 1640 | | | return ringbuf_libpcap_dump_close(&capture_opts->save_file, err_close); |
| 1641 | | | } else { |
| 1642 | | | if (capture_opts->use_pcapng) { |
Event 3:
Taking true branch. capture_opts->use_pcapng evaluates to true.
hide
|
|
| 1643 | [+] | | libpcap_write_interface_statistics_block(ld->pdh, 0, ld->pcap_h, &ld->bytes_written, err_close); |
Event 4:
ld->pdh is passed to libpcap_write_interface_statistics_block() as the first argument.
hide
|
|
 |
| 1644 | | | } |
| 1645 | [+] | | return libpcap_dump_close(ld->pdh, err_close); |
Event 14:
ld->pdh is passed to libpcap_dump_close() as the first argument.
hide
|
|
 |
| |