]> The Tcpdump Group git mirrors - libpcap/blob - doc/README.hurd.md
CI: Call print_so_deps() on rpcapd in remote enabled build
[libpcap] / doc / README.hurd.md
1 # Compiling and using libpcap on GNU/Hurd
2
3 libpcap on Hurd currently does not support packet capture on the loopback
4 network interface. BPF works in kernel only if the filter length is not
5 greater that 31 BPF instructions and does not use `BPF_MOD` or `BPF_XOR`.
6 Packet timestamping always occurs in userland. Wireless monitor mode is not
7 supported. Packet capture sees only packets received on the interface.
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_set_promisc**](https://www.tcpdump.org/manpages/pcap_set_promisc.3pcap.html)(3PCAP)
13 has no effect.
14
15 ## Debian GNU/Hurd 12
16
17 * flex 2.6.4 and GNU Bison 3.8.2 work.
18 * CMake 3.25.1 works.
19 * GCC 12.2.0 and Clang 14.0.6 work.
20
21 For reference, the tests were done using a system installed from the 2023-06-08
22 snapshot from [here](https://cdimage.debian.org/cdimage/ports/12.0/hurd-i386/).