]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: add udp warning for elided checksum
authorAlexander Aring <alex.aring@gmail.com>
Tue, 17 Dec 2013 13:21:25 +0000 (14:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Dec 2013 14:16:48 +0000 (06:16 -0800)
commit8c562e829b8b8fd9407f60b37f27af38a7876605
tree65925d37c0b3a48f0918e66716db81f364549834
parent426ba042be7481686644e870f7807c11961c753b
6lowpan: add udp warning for elided checksum

Bit 5 of "UDP LOWPAN_NHC Format" indicate that the checksum can be
elided.
The host need to calculate the udp checksum afterwards but this isn't
supported right now.

See:
http://tools.ietf.org/html/rfc6282#section-4.3.3
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan.h
net/ieee802154/6lowpan_iphc.c