freebsd with flexible iflib nic queues
Go to file
Alexander V. Chernikov d53a61632d netlink: fix NULL check in the default route snl(3) parser.
CID:		1506959
MFC after:	2 weeks
2023-04-03 04:15:40 -04:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github .github: Test DISK_IMAGE_TOOLS_BOOTSTRAP in CI 2023-04-03 04:10:16 -04:00
bin fs/msdosfs: add tracking of free root directory entries 2023-04-03 04:13:55 -04:00
cddl libdtrace: fix indendation in dt_printd() 2023-04-03 04:12:18 -04:00
contrib Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
crypto ssh: update FREEBSD-upgrade for upstream CheckHostIP default change 2023-04-03 04:14:00 -04:00
decoder Update OpenCSD to v1.4.0. 2023-04-03 04:13:49 -04:00
doxygen Vendor import of xz 5.4.2 (trimmed) 2023-04-03 04:12:15 -04:00
etc libcasper: Move helper libraries from /lib/casper to /lib. 2023-04-03 04:13:59 -04:00
gnu gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
include arpa: garbage collect ns_newmsg/ns_rdata decls 2023-04-03 04:12:28 -04:00
kerberos5 heimdal: Do not build a redundant source file 2023-04-03 04:15:39 -04:00
lib kqueue: tidy up indentation in man page example 2023-04-03 04:14:08 -04:00
libexec libcasper: Move helper libraries from /lib/casper to /lib. 2023-04-03 04:13:59 -04:00
release pkg-stage.sh: update port trailing version information 2023-04-03 04:12:19 -04:00
rescue rescue: Fix link order of SSL libraries and fetch. 2023-02-02 09:23:02 -08:00
sbin bectl: Improve error message when ZFS root is not found. 2023-04-03 04:14:07 -04:00
secure OpenSSL: Regen manual pages for OpenSSL 1.1.1t 2023-02-07 14:01:15 -05:00
share Add myself (cc) as a src commiter. 2023-04-03 04:15:38 -04:00
src/liblzma/check Vendor import of xz 5.4.2 (trimmed) 2023-04-03 04:12:15 -04:00
stand amd64 loader: plug hard hang with serial console enabled 2023-04-03 04:14:08 -04:00
sys netlink: fix NULL check in the default route snl(3) parser. 2023-04-03 04:15:40 -04:00
targets retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
tests tests: fix utils import in netlink tests 2023-04-03 04:15:40 -04:00
tools nanobsd: Remove MIPS configurations. 2023-04-03 04:14:08 -04:00
usr.bin Remove LLVM build glue for MIPS as a native architecture. 2023-04-03 04:14:00 -04:00
usr.sbin cxgbetool(8): Add support for tracing loopback traffic for a port. 2023-04-03 04:15:39 -04:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml CI: Run pkgbase METALOG lint script 2023-04-03 04:10:16 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore Update OpenCSD to v1.4.0. 2023-04-03 04:13:49 -04:00
charconv.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
charconv.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
CONTRIBUTING.md Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
grammar.y.in Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
iso3166.tab Import tzdata 2023a 2023-04-03 04:12:42 -04:00
LOCKS
MAINTAINERS MAINTAINERS: Remove myself from OpenSSL maintenance 2023-04-03 04:13:54 -04:00
Makefile Import tzdata 2023a 2023-04-03 04:12:42 -04:00
Makefile.inc1 libcasper: Move helper libraries from /lib/casper to /lib. 2023-04-03 04:13:59 -04:00
Makefile.libcompat libcompat: avoid installing include files twice 2022-11-16 19:15:20 -05:00
Makefile.sys.inc
ObsoleteFiles.inc Add libcap_netdb.so.1 to the list of libcasper helper libraries. 2023-04-03 04:14:04 -04:00
pcap_init.3pcap Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-airpcap.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-airpcap.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-dpdk.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-dpdk.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-haiku.cpp Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-usb-linux-common.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-usb-linux-common.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-util.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pcap-util.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
pflog.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
README.md Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
RELNOTES RELNOTES: Add an entry for NFS server support in vnet prisons 2023-04-03 04:10:11 -04:00
ssh_config.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
ssh-keygen.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
ssh-keyscan.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
sshd_config.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
sshd.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
sslutils.c Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
sslutils.h Import libpcap 1.10.3 2023-04-03 04:15:36 -04:00
UPDATING UPDATING: Document arm video devices renaming. 2023-04-03 04:11:47 -04:00

LIBPCAP 1.x.y by The Tcpdump Group

To report a security issue please send an e-mail to security@tcpdump.org.

To report bugs and other problems, contribute patches, request a feature, provide generic feedback etc please see the guidelines for contributing.

The documentation directory has README files about specific operating systems and options.

Anonymous Git is available via:

https://github.com/the-tcpdump-group/libpcap.git

From version 0.4, library versioning will use a semantic versioning format (per http://semver.org) of the form Major.minor.patch (M.m.p).

formerly from 	Lawrence Berkeley National Laboratory
		Network Research Group <libpcap@ee.lbl.gov>
		ftp://ftp.ee.lbl.gov/old/libpcap-0.4a7.tar.Z

Support for particular platforms and BPF

For some platforms there are README.{system} files that discuss issues with the OS's interface for packet capture on those platforms, such as how to enable support for that interface in the OS, if it's not built in by default.

The libpcap interface supports a filtering mechanism based on the architecture in the BSD packet filter. BPF is described in the 1993 Winter Usenix paper ``The BSD Packet Filter: A New Architecture for User-level Packet Capture'' (compressed PostScript, gzipped PostScript, PDF).

  • ITM software trace - packet processing and decode.
  • ETMv3 data trace - packet decode.
  • ETMv4 data trace - packet processing and decode.

BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, OpenBSD, DragonFly BSD, macOS, and Solaris 11; an older, modified and undocumented version is standard in AIX. {DEC OSF/1, Digital UNIX, Tru64 UNIX} uses the packetfilter interface but has been extended to accept BPF filters (which libpcap utilizes).

Linux has a number of BPF based systems, and libpcap does not support any of the eBPF mechanisms as yet, although it supports many of the memory mapped receive mechanisms. See the Linux-specific README for more information.

Note to Linux distributions and *BSD systems that include libpcap:

CoreSight kernel drivers and perf suport for CoreSight trace is maintained in the latest upstream kernel versions.

It sets the soname of the library to libpcap.so.1; this is what it should be, NOT libpcap.so.1.x or libpcap.so.1.x.y or something such as that.

We've been maintaining binary compatibility between libpcap releases for quite a while; there's no reason to tie a binary linked with libpcap to a particular release of libpcap.