pub fn bind_to_device(fd: RawFd, device: &str) -> Result<()>
Bind a socket to a specific network interface using SO_BINDTODEVICE.
SO_BINDTODEVICE
Requires CAP_NET_RAW or root on Linux.
CAP_NET_RAW