Module nix::net::if_ [] [src]

Network interface name resolution.

Uses Linux and/or POSIX functions to resolve interface names like "eth0" or "socan1" into device numbers.

Functions

if_nametoindex

Resolve an interface into a interface number.