Files
android_packages_modules_Co…/bpf_progs
Maciej Żenczykowski 43d31bbaf6 clatd.c - add support for UDPLITE
This is trivial - as the UDPLITE pseudoheader is identical
to the UDP pseudoheader (except that the UDPLITE pseudo length
is derived from the IPv4 total length / IPv6 payload length
field, instead of being copied from the UDPLITE header 'coverage
length' field - but this doesn't matter, as it [ie. the udplite
payload length] doesn't change during 464xlat translation).

Additionally UDPLITE never sends a checksum value of 0,
as at least 8 bytes (the UDPLITE header) *must* be included
in the checksum field, and a 0 must be sent as 0xFFFF.

See: https://datatracker.ietf.org/doc/html/rfc3828

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I00a110b793fcf3cf705a9a706811da7866c3e810
2023-07-25 16:17:48 +00:00
..
2023-04-28 20:11:14 +00:00
2023-07-25 16:17:48 +00:00
2023-01-23 09:51:31 -08:00
2022-12-08 13:04:45 +00:00
2022-07-16 05:35:15 +00:00