On Sat, 08 May 2010 03:54:26 +1000 Tully Gray wrote:
>
> I have modified Erik Quanstrom's raw socket ethernet driver
> for 9vx so that it uses the Linux kernel's "tap" device.
Neat!
> < if((fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0)
> ---
> > if((fd = open("/dev/net/tun",
On Fri, May 07, 2010 at 02:04:47PM -0400, erik quanstrom wrote:
> > 2010/5/7 Tully Gray :
> > > Hi,
> > >
> > > I have modified Erik Quanstrom's raw socket ethernet driver
> > > for 9vx so that it uses the Linux kernel's "tap" device.
> > > It seems to work just fine. I create the tap device first
2010/5/7 erik quanstrom :
>> interesting. what's the advantage of the tap device?
>> is the code available online?
>
> duh. sorry. missed the attachment. having peeked
> at the code, do you think that the tap devices is a
> complete replacement for the raw socket?
Yes. The tap(4) interface all
> interesting. what's the advantage of the tap device?
> is the code available online?
duh. sorry. missed the attachment. having peeked
at the code, do you think that the tap devices is a
complete replacement for the raw socket?
- erik
> 2010/5/7 Tully Gray :
> > Hi,
> >
> > I have modified Erik Quanstrom's raw socket ethernet driver
> > for 9vx so that it uses the Linux kernel's "tap" device.
> > It seems to work just fine. I create the tap device first
> > using "tunctl" which comes with the Usermode Linux toolkit
> > but I don
2010/5/7 Tully Gray :
> Hi,
>
> I have modified Erik Quanstrom's raw socket ethernet driver
> for 9vx so that it uses the Linux kernel's "tap" device.
> It seems to work just fine. I create the tap device first
> using "tunctl" which comes with the Usermode Linux toolkit
> but I don't think this is