PCAP_LIB_VERSION(3) Library Functions Manual PCAP_LIB_VERSION(3)

pcap_lib_version - get the version information for libpcap

#include <pcap/pcap.h>

const char *pcap_lib_version(void);

pcap_lib_version() returns a pointer to a string giving information about the version of the libpcap library being used; note that it contains more information than just a version number.

pcap(3)
3 January 2014