How to find out the name of interface?

MarkusNiemistö markus.niemisto at iki.fi
Tue Mar 16 01:43:40 PST 2004


Hi list,

Is there any way to get the name of interface from file handle? For
example if I open /dev/tun how can I find out what the real node is (is
it tap0 or maybe tap5).

Thanks,
Markus


More information about the freebsd-net mailing list