Subject: Re: data link access mechanism?
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Andrew Brown <atatat@atatdot.net>
List: tech-net
Date: 11/21/2001 10:42:12
>As for the ether_input() interface, what you really want is something
>tun(4)-like but that works at the Ethernet level rather than the IP
>level. You could probably start by copying if_tun.c and hacking on it
>to use ether_input rather than enqueueing stuff on ipintrq....
take a look at tap(4) under freebsd. it's incredibly similar to
tun(4), but does "ethernet stuff" in a way that i have i've not yet
seen to be useful. maybe it will do what you want. ought to be
pretty easy to port over as well.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."