Obtains the minor version number of the packet capture format used to write the savefile.
pcap Library (libpcap.a)
#include <pcap.h>
int pcap_minor_version(pcap_t * p);
The pcap_minor_version subroutine returns the minor version number of the packet capture format used to write the savefile. This subroutine should only be called after a successful call to the pcap_open_offline subroutine and before any calls to the pcap_close subroutine.
Item | Description |
---|---|
p | Points to a packet capture descriptor as returned from the pcap_open_offline subroutine. |
The minor version number of the packet capture format used to write the savefile.