Subject: Re: Sample (but possibly useful) LKM: fake Ethernet device
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
List: tech-net
Date: 11/08/2003 09:31:44
On Fri, Nov 07, 2003 at 09:11:12PM +0100, Manuel Bouyer wrote:
> I'd like such a device that would allow to read back the ethernet frames
> from userland, or inject ethernet frames to the device (somewhat like
> tun(4) but for ethernet).
> This would be nice for things like simh, and also to build virtual ethernet
> networks on encrypted IP tunnels.

I tried to port the tap driver of FreeBSD some weeks ago, but i stopped
when it kind of worked on my 1.5 system.
If you want to try and debug it, you can find it here:
http://www.headcrashers.org/comp/programs/if_tap.{h,c}

-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown