[Top][All Lists]

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

Re: [lwip-users] ppp-new IP forwarding only works one direction (Etherne

From: Sylvain Rochet
Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP)
Date: Thu, 10 Apr 2014 20:49:26 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Charles,

On Thu, Apr 10, 2014 at 06:37:02PM +0000, address@hidden wrote:
> Below is more debug information and hope it's helpful for fixing the problem.
> Regarding the code stalled at early stage, that's hardware related. I 
> am using ARM7 (AT91SAM7 to be specific), so the data alignment is 4 
> and PBUF_LINK_HLEN is 14 by default, so I replaced all PBUF_LINK_HLEN 
> in the patch with (PBUF_LINK_HLEN + 2). It fixed the run-time problem 
> which keep the code running fine. Now I can build-up the PPP 
> connection. However, the patch seems fix the pbuf issue but it 
> actually breaks the traffic from Ethernet to PPP side which was fine 
> before the patch. If you need me do any test, please let me know.

Humm, you should set ETH_PAD_SIZE to 2 in your lwipopts.h instead of 
doing that.


Attachment: signature.asc
Description: Digital signature

reply via email to

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