Read

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). ...

HOTPLUG(4) - Device Drivers Manual

Read, Hotplugd, Hotplug

HOTPLUG(4) - Device Drivers Manual # HOTPLUG(4) - Device Drivers Manual NAME # hotplug - devices hot plugging SYNOPSIS # pseudo-device hotplug 1 #include <sys/types.h> #include <sys/device.h> #include <sys/hotplug.h> DESCRIPTION # The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. ...