lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PBUFS + MEMP + LWIP 1.3.0


From: Simon Goldschmidt
Subject: Re: [lwip-users] PBUFS + MEMP + LWIP 1.3.0
Date: Wed, 10 Feb 2010 12:41:51 +0100

"Sirjee Rooplall" wrote
> I am using PPP, and at the moment I am trying to track a bug that causes
> my 
> system to crash, and when I stop me debugger it points to the 
> PPPthreadHandle. The failure seems to occur in the function pppInProc() 
> everytime.
> 
> The change log, does not show any changes to the PPP code,  so I am just 
> worried that I am going to waste alot more time to get the port done and 
> face the same problems.

There were some problems fixed with PPP with 1.3.1 or 1.3.2, but I only started 
to work on PPP after the 1.3.2 release (available in CVS HEAD - however there 
are too many changes there to use it right now).

> I have seen in a website that when physical layer is not present i.e modem
> in my case that the pppThread must be removed.
> And that implementation of the thread remove used a function called 
> sys_arch_thread_remove, which does not appear in the LWIP 1.3.0,
> sys_arch.c file.

That isn't really necessary. Calling pppHup (I think it was) should make the 
pppMain thread end itself. Your port only has to cope with thread functions 
returning, that should be all.

> Is there an example of proper use of the LWIP PPP stack that I can look at
> to get some pointers.

I'm afraid there isn't, currently. I do use it in the example win32 port, but 
that doesn't really help since it's based on CVS HEAD.

But even if there haven't been that many changes for PPP, it's still worth 
upgrading to 1.3.2 for the rest of the fixes.

Simon
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser




reply via email to

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