[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output
From: |
Kieran Mansley |
Subject: |
RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output |
Date: |
Tue, 22 May 2007 14:34:22 +0100 |
On Tue, 2007-05-22 at 15:25 +0200, Goldschmidt Simon wrote:
> > An easy workaround would be in this case to call pbuf_header
> > to reserve
> > 16 bytes before you copy in the packet data. This would
> > ensure there is space in the pbuf to put the outgoing
> > ethernet header, but is really a bit of a hack and the right
> > thing to do is fix it in lwIP's ICMP code.
>
> That would make ICMP dependent of the link layer!
No more so than TCP, UDP, etc. It would (if there wasn't enough space
in the pbuf it already had) simply allocate a pbuf using the PBUF_IP
pbuf_layer flag, and so it would have enough space reserved for the IP
and link headers.
Kieran
- [lwip-users] pbuf_header fails in etharp_output, Matthias Weisser, 2007/05/22
- Re: [lwip-users] pbuf_header fails in etharp_output, Kieran Mansley, 2007/05/22
- RE: [lwip-users] pbuf_header fails in etharp_output, Goldschmidt Simon, 2007/05/22
- Antw: RE: [lwip-users] pbuf_header fails in etharp_output, Matthias Weisser, 2007/05/22
- Re: Antw: RE: [lwip-users] pbuf_header fails in etharp_output, Kieran Mansley, 2007/05/22
- RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output, Goldschmidt Simon, 2007/05/22
- RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output,
Kieran Mansley <=
- RE: [lwip-users] pbuf_header fails in etharp_output, Goldschmidt Simon, 2007/05/22
- RE: [lwip-users] pbuf_header fails in etharp_output, Kieran Mansley, 2007/05/22
- RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output, Matthias Weisser, 2007/05/23
- RE: Antw: RE: [lwip-users] pbuf_header fails in etharp_output, Kieran Mansley, 2007/05/23