[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: |
LMao |
Subject: |
Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP) |
Date: |
Fri, 11 Apr 2014 12:13:02 +0000 |
Sylvain,
I applied the new patch, but the following statement always cause Data Abort
exception run-time error. No matter I set ETH_PAD_SIZE to 0 or 2. The good
thing is my compiler doesn't generate any error message for the new patch.
*((ppp_pcb**)payload) = pcb;
Another thing I am not so sure is the macro PPP_USE_PBUF_RAM. I always set it
to 1 in lwipopts.h, but I think the default is set to 0 in opt.h. Am I doing
the right thing?
Thanks,
Charles
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Sylvain Rochet
Sent: Thursday, April 10, 2014 6:15 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction
(Ethernet to PPP)
Hello Charles,
On Thu, Apr 10, 2014 at 08:03:13PM +0000, address@hidden wrote:
> Hi Sylvain,
>
> Good news, I got it work with your patch
Yeah, happy to hear that.
Here is another patch, which should fix the issue in a way that can be pushed
to the repository, would you test it ?
> plus the replacement of (PBUF_LINK_HLEN +2), however, set ETH_PAD_SIZE
> to 2 actually doesn't work. It seems fail at ARP and infinitely repeat
> with the following debug messages:
Humm, this is strange, using ETH_PAD_SIZE should work.
Sylvain
- [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/09
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP),
LMao <=
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/11
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/11
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/11
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/12
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/14
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/14
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), LMao, 2014/04/15
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/15
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Sylvain Rochet, 2014/04/10
- Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP), Simon Goldschmidt, 2014/04/10