Closes a packet capture data file, know as a savefile.
pcap Library (libpcap.a)
#include <pcap.h>
void pcap_dump_close(pcap_dumper_t * p);
The pcap_dump_close subroutine closes a packet capture data file, known as the savefile, that was opened using the pcap_dump_open subroutine.
Item | Description |
---|---|
p | Points to a pcap_dumper_t, which is synonymous with a FILE *, the file pointer of a savefile. |