Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 11:43:38 +0200
From:      Markus =?ISO-8859-15?Q?Niemist=F6?= <markus.niemisto@iki.fi>
To:        freebsd-net@freebsd.org
Subject:   How to find out the name of interface?
Message-ID:  <20040316114338.38cdc1c3.markus.niemisto@iki.fi>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316114338.38cdc1c3.markus.niemisto>