[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1


pcap_minor_version Subroutine

Purpose

Obtains the minor version number of the packet capture format used to write the savefile.

Library

pcap Library (libpcap.a)

Syntax


#include <pcap.h>


int pcap_minor_version(pcap_t * p);

Description

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.

Parameters


p Points to a packet capture descriptor as returned from the pcap_open_offline subroutine.

Return Values

The minor version number of the packet capture format used to write the savefile.

Related Information

The pcap_close (pcap_close Subroutine) subroutine, pcap_open_offline (pcap_open_offline Subroutine) subroutine.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]