lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] running lwip in unixsim


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] running lwip in unixsim
Date: Wed, 08 Jan 2003 22:08:22 -0000

On Friday 02 November 2001 14.27, you wrote:
> Hi Ganesh,
>
> I'm the other person Felipe mentioned was working on this.  He sent me
> some patches last week and I'm working on my own code right now that
> I'll be happy to share if you want to take a crack at it.  Otherwise,
> once I'm reasonably sure I have everything working, I'll submit my
> changes back to the lwip community in case there are some other
> linux-types out there.  :-)

Are the tap and tun devices in the universal tap/tun driver similar to those 
in FreeBSD? The FreeBSD tap device works very much like an Ethernet in that 
it requires ARP and an Ethernet header on each packet. The tun device is more 
like a point-to-point link that doesn't require any ARP - all packets are 
sent directly to the other endpoint of the tun device.

If they are similar, only the system("ifconfig") call and the /dev filenames 
would have to be changed.

BTW, the CVS version contains updated tapif code that uses the new ARP code.

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]