lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] RFC3542 ICMPv6 Checksum Computation for Raw Sockets


From: Ivan Delamer
Subject: Re: [lwip-devel] RFC3542 ICMPv6 Checksum Computation for Raw Sockets
Date: Wed, 19 Dec 2012 16:30:01 -0700 (MST)
User-agent: SquirrelMail/1.4.9a

Hi Grant,

There hasn't been a discussion about this yet. Feel free to propose one,
or even better, a patch that implements it. I can review it and work it
into the code if suitable.

Cheers
Ivan

PS: I'm interested to see your ping6 code whenever it is ready.

On Wed, December 19, 2012 10:21, Grant Erickson wrote:
> I am implementing a basic ping6 test application for LwIP using a:
>
>       socket = lwip_socket(AF_INET6, SOCK_RAW, IP6_NEXTH_ICMP6);
>
> raw LWIP socket and it's mostly working, with checksum computation
> excepted. Per RFC3542 <http://www.ietf.org/rfc/rfc3542.txt>, "3.1.
> Checksums", outside of link-local addresses, for which a priori knowledge
> is fairly straightforward, the source address for pseudo-header checksum
> computation isn't easily derived from the application socket.
>
> Have there been any strong opinions or directions toward supporting a raw
> IPv6 checksum computation ala a socket option?
>
> Thanks,
>
> Grant





reply via email to

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