]> The Tcpdump Group git mirrors - libpcap/blob - doc/README.haiku.md
CI: Call print_so_deps() on rpcapd in remote enabled build
[libpcap] / doc / README.haiku.md
1 # Compiling and using libpcap on Haiku
2
3 Haiku R1/beta4 and earlier versions do not support packet capture on the
4 loopback interface. Using this version of libpcap, loopback capture works
5 since Haiku R1/beta5. Packet timestamping and filtering always occur
6 in userland. Wireless monitor mode is not supported. The "any"
7 pseudo-interface is not supported.
8 [**pcap_set_buffer_size**](https://www.tcpdump.org/manpages/pcap_set_buffer_size.3pcap.html)(3PCAP)
9 has no effect.
10 [**pcap_setdirection**](https://www.tcpdump.org/manpages/pcap_setdirection.3pcap.html)(3PCAP)
11 is not supported.
12 [**pcap_inject**](https://www.tcpdump.org/manpages/pcap_inject.3pcap.html)(3PCAP)
13 is not supported.
14
15 The statistics reported by
16 [**pcap_stats**](https://www.tcpdump.org/manpages/pcap_stats.3pcap.html)(3PCAP)
17 on Haiku are as follows:
18 * `ps_recv` is the number of packets successfully delivered by the kernel,
19 before libpcap applies a filter.
20 * `ps_drop` is the number of packets rejected by the filter.
21 * `ps_ifdrop` is the number of packets dropped by the network interface (as
22 seen via `SIOCGIFSTATS`) since the capture handle became active.
23
24 ## AMD64 R1/beta5
25
26 * Autoconf 2.72 works.
27 * CMake 3.28.3 works.
28 * GCC 13.3.0 works.
29 * Clang 18.1.7 works.
30 * flex 2.6.4 works.
31 * bison 3.8.2 works.
32
33 The following command will install respective non-default packages:
34 ```
35 pkgman install cmake llvm18_clang
36 ```
37
38 For reference, the tests were done using a system installed from
39 `haiku-r1beta5-x86_64-anyboot.iso`.