Haiku R1/beta4 and earlier versions do not support packet capture on the loopback interface. Using this version of libpcap, loopback capture works since Haiku R1/beta5. Packet timestamping and filtering always occur in userland. Wireless monitor mode is not supported. The "any" pseudo-interface is not supported. pcap_set_buffer_size(3PCAP) has no effect. pcap_setdirection(3PCAP) is not supported. pcap_inject(3PCAP) is not supported.
The statistics reported by pcap_stats(3PCAP) on Haiku are as follows:
ps_recv
is the number of packets successfully delivered by the kernel, before libpcap applies a filter.ps_drop
is the number of packets rejected by the filter.ps_ifdrop
is the number of packets dropped by the network interface (as seen viaSIOCGIFSTATS
) since the capture handle became active.
- Autoconf 2.72 works.
- CMake 3.28.3 works.
- GCC 13.3.0 works.
- Clang 18.1.7 works.
- flex 2.6.4 works.
- bison 3.8.2 works.
The following command will install respective non-default packages:
pkgman install cmake llvm18_clang
For reference, the tests were done using a system installed from
haiku-r1beta5-x86_64-anyboot.iso
.