Adam Dunkels wrote:
It is always possible disable the UDP checksum on a per-datagram basis
by setting the checksum field of the UDP header to all zeros. All IP end
hosts interpret this as a disabled checksum and do not try to compute
the UDP checksum for incoming UDP datagrams. Valid UDP checksums are
explicitly never all zeros - a zero checksum is sent as all ones instead.
A header compression scheme can safely compress away the entire checksum
field for datagrams without a UDP checksum (but leaving a bit to
indicate that the checksum is disabled).
True for IPv4, but not in IPv6.
From RFC 2460:
o Unlike IPv4, when UDP packets are originated by an IPv6 node,
the UDP checksum is not optional.
--
Jonathan Hui
_______________________________________________
6lowpan mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/6lowpan