Select

BPF(4) - Device Drivers Manual

Tcpdump, Select, Makedev, Ioctl, Arc4random, Read, Signal, Bpf

BPF(4) - Device Drivers Manual # BPF(4) - Device Drivers Manual NAME # bpf - Berkeley Packet Filter SYNOPSIS # pseudo-device bpfilter DESCRIPTION # The Berkeley Packet Filter provides a raw interface to data link layers in a protocol-independent fashion. All packets on the network, even those destined for other hosts, are accessible through this mechanism. The packet filter appears as a character special device, /dev/bpf. After opening the device, the file descriptor must be bound to a specific network interface with the BIOCSETIF ioctl(2). ...