[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] RFC3542 ICMPv6 Checksum Computation for Raw Sockets
From: |
Grant Erickson |
Subject: |
[lwip-devel] RFC3542 ICMPv6 Checksum Computation for Raw Sockets |
Date: |
Wed, 19 Dec 2012 09:21:15 -0800 |
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
- [lwip-devel] RFC3542 ICMPv6 Checksum Computation for Raw Sockets,
Grant Erickson <=