[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] ip forward and pbuf corruption
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] ip forward and pbuf corruption |
Date: |
Tue, 07 Feb 2012 13:18:00 +0000 |
On Mon, 2012-02-06 at 11:57 -0800, Tyrel Newton wrote:
> > The way that you are using the pbufs is a little unusual. Which API
> are you using to lwIP? Or are you modifying lwIP internally to get
> the forwarding behaviour?
>
> Why is this unusual pbuf usage? I am using the tcpip thread (netconn
> api), so the re-transmission of the IP frames should be happening from
> the context of the tcpip thread. The IP forwarding is provided
> inherently by the ipv4 code (in the ip_forward function).
Using ip_forward() is unusual. Most people are using lwIP as an
endpoint, and so has no need to forward.
Kieran