WireForge IO — cross-platform raw socket I/O for packet capture and injection.
Platform Support
| Platform | L2 Capture | L3 Capture | Backend |
|---|---|---|---|
| Linux | AF_PACKET | raw socket | socket2 + libc |
| macOS | BPF | raw socket | /dev/bpf + libc |
| Windows | NPcap | raw socket | npcap crate |
Quick Start
# use ;
#
Permissions
L2 capture requires root (Linux/macOS) or Administrator (Windows).
list_interfaces() does not require elevated privileges.