Hi, thanks for your reply.

Actually it is not a problem, I just want to avoid copying since it
consumes power. However, since LwIP does copying for IPv6 I have no choice.

But does what you said mean that we will be facing issues with ICMP v4?

On Tue, Aug 14, 2018 at 4:03 PM, [email protected] <[email protected]> wrote:

> On 14.08.2018 14:49, Amena El Homsi wrote:
>
>> When we receive an echo request using IPv6, LwIP copies the request to
>> new pbuf to send the reply.
>> Why LwIP doesn't use the echo request pbuf, instead of allocating a new
>> one (as what LwIP does when replying to IPv4 echo requests)?
>>
>
> Ehrm, I don't know really. But the code for IPv4 has been there a really
> long time and has cause some problems in the past. Also, using an RX buffer
> for TX can be a problem because it can starve RX when all the buffers get
> queued for TX and TX somehow stalls for some time (e.g. oending ARP request
> or something like that).
>
> Is there a problem with copying the request for IPv6?
>
> Simon
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 

Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng,  M.S.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to