lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] icmp6


From: Amena El Homsi
Subject: Re: [lwip-users] icmp6
Date: Tue, 14 Aug 2018 16:46:09 +0300

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, address@hidden <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



--

Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng,  M.S.

reply via email to

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