lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] ethernetif.c template


From: Ed Sutter
Subject: Re: [lwip-users] ethernetif.c template
Date: Sat, 11 Jan 2003 11:55:22 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (CPQCA2C02)

Jani,
Cool!  I removed that line and proceeded with the rebuild
and it's working.  Thanks much.

The only change that I had to make to the code was the
use of "ctime" in etharp.c.  I noticed that someone changed
it from "time" to "ctime" to avoid a conflict with the
"time" function.  Unfortunately, there is also a "ctime"
function in some versions of time.h and that was causing a
conflict for me (using GNU Cygwin Xtools packaged by
Microcross), so I changed that variable to arptime throughout
the file etharp.c.

This is probably something that should be changed in the
official tree, so my next question is this...
Who decides what goes into the CVS tree, and how is it
tested prior to being committed?

Thanks again for your patience and help
Ed




Jani Monoses wrote:

just commited tapif with that call removed.
that's all that needs changing.



Hello,
I'm new to lwIP.  Last week I grabbed the 0.5.3 code from
the homepage and integrated it into a small uC/OS-MicroMonitor
application running on a PPC405 card from Cogent Computer Systems.
That went real well, kudos to the folks that organized the
source tree!!

Anyway, now I'm trying to upgrade to the latest CVS tree and having
trouble trying to recreate an ethernetif.c file that integrates with
the latest etharp.c stuff.  Apparently the API has changed, but I
have not been able to find a driver template that properly interfaces
with this new API.  I tried converting src/arch/unix/netif/tapif.c,
but it calls etharp_output_sent() which apparently doesn't exist any
more.

Anybody have any hints?

Ed Sutter




_______________________________________________
lwip-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/lwip-users









reply via email to

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