Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


pcap_lib_version(3pcap) — Linux manual page

NAME |SYNOPSIS |DESCRIPTION |SEE ALSO |COLOPHON

PCAP_LIB_VERSION(3PCAP)PCAP_LIB_VERSION(3PCAP)

NAME        top

       pcap_lib_version - get the version information for libpcap

SYNOPSIS        top

#include <pcap/pcap.h>const char *pcap_lib_version(void);

DESCRIPTION        top

pcap_lib_version() returns a pointer to a string giving       information about the version of the libpcap library being used.       The string begins with the words "libpcap version".  Then follows       the version, which consists of three dot-separated numbers and the       optional "-PRE-GIT" suffix to indicate a development snapshot,       same as in the output ofpcap-config --versionin sufficiently       recent libpcap releases.  After the version often follows       additional text to indicate particular features.  For example:       an old release, on any OSlibpcap version 1.5.3       a newer release on a Linux hostlibpcap version 1.10.4 (with TPACKET_V3)       the same, built with DAG support onlylibpcap version 1.10.4 (DAG-only)       a development snapshot on a FreeBSD hostlibpcap version 1.11.0-PRE-GIT (with zerocopy support)

SEE ALSO        top

pcap-config(1),pcap(3PCAP)

COLOPHON        top

       This page is part of thelibpcap (packet capture library) project.       Information about the project can be found at        ⟨http://www.tcpdump.org/⟩.  If you have a bug report for this       manual page, see ⟨http://www.tcpdump.org/#patches⟩.  This page was       obtained from the project's upstream Git repository       ⟨https://github.com/the-tcpdump-group/libpcap.git⟩ on 2025-08-11.       (At that time, the date of the most recent commit that was found       in the repository was 2025-08-10.)  If you discover any rendering       problems in this HTML version of the page, or you believe there is       a better or more up-to-date source for the page, or you have       corrections or improvements to the information in this COLOPHON       (which isnot part of the original manual page), send a mail to       man-pages@man7.org                             22 December 2024PCAP_LIB_VERSION(3PCAP)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp