gvisor/pkg/tcpip/transport
Arthur Sfez 2c8379d957 Expose header methods that validate checksums
This is done for IPv4, UDP and TCP headers.

This also changes the packet checkers used in tests to error on
zero-checksum, not sure why it was allowed before.

And while I'm here, make comments' case consistent.

RELNOTES: n/a

Fixes #5049

PiperOrigin-RevId: 369383862
2021-04-20 00:28:42 -07:00
..
icmp Add POLLRDNORM/POLLWRNORM support. 2021-03-24 12:11:44 -07:00
packet Add POLLRDNORM/POLLWRNORM support. 2021-03-24 12:11:44 -07:00
raw Add POLLRDNORM/POLLWRNORM support. 2021-03-24 12:11:44 -07:00
tcp Expose header methods that validate checksums 2021-04-20 00:28:42 -07:00
tcpconntrack Give TCP flags a dedicated type 2021-03-09 18:00:03 -08:00
udp Expose header methods that validate checksums 2021-04-20 00:28:42 -07:00