Subject: tap-like device in netbsd?
To: None <netbsd-users@netbsd.org>
From: Michael Kukat <michael@unixiron.org>
List: netbsd-users
Date: 05/07/2002 10:11:29
Hello,

i am currently playing around with uIP, a very small TCP/IP-stack for embedded
purposes, because i want to develop a networked power controller with the 8031
MCU. Because of the existence of SDCC, this will be done in C, based on uIP.
Development of everything and testing should be done in NetBSD, before it is
finally compiled on the 8031 with some 8390 or so attached to it.

For testing, i need something to "emulate" the LAN controller chip including
the driver for it. In FreeBSD there is a device called "tap", which emulates a
raw ethernet device connected to a node in /dev. In NetBSD there doesn't seem
to exist such a device. There is tun, but this already does TCP/IP, and there
is gre, but this doesn't connect to a device note but to a socket.

So the simple question: is there some ethernet-compatible device which attaches
to /dev/somewhat like the /dev/tapX in FreeBSD?

...Michael

-- 
http://www.bsdfans.org/    Home network powered by: NetBSD OpenBSD FreeBSD IRIX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX