lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] udp_send: space for IP header is not being allocated?


From: David Baird
Subject: Re: [lwip-users] udp_send: space for IP header is not being allocated?
Date: Fri, 13 Jul 2007 14:51:07 -0600

On 7/13/07, Grubb, Jared <address@hidden> wrote:
Udp_send doesn't know that you set the buffer up properly, so it first
TRIES to call pbuf_header, and if you messed up by passing it a pbuf
that didn't have room for the header, then it allocates a new pbuf to
chain in front of the one you gave it. (You may not have messed up...
for example, you may be passing a PBUF_REF or PBUF_ROM type, which
doesn't have room for a header anyway)

That makes sense.  Thanks for the explanation.

Is there someone who can apply my patch for the documentation?




reply via email to

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