Ubuntu Manpages

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(3PCAP)