gvisor/pkg/tcpip
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
..
adapters/gonet
buffer Make dedicated methods for data operations in PacketBuffer 2021-03-03 16:05:16 -08:00
checker
faketime Do not use clockwork for faketime 2021-01-28 17:08:12 -08:00
hash/jenkins
header Expose header methods that validate checksums 2021-04-20 00:28:42 -07:00
link
network Expose header methods that validate checksums 2021-04-20 00:28:42 -07:00
ports Enlarge port range and fix integer overflow 2021-04-16 16:28:56 -07:00
sample
seqnum
stack De-duplicate TCP state in TCPEndpointState vs tcp.endpoint 2021-04-19 16:43:30 -07:00
tests
testutil
transport
BUILD
errors.go Implement /proc/sys/net/ipv4/ip_local_port_range 2021-03-08 20:40:34 -08:00
socketops.go
tcpip.go
tcpip_test.go Remove count argument from tcpip.Endpoint.Read 2021-01-15 15:49:15 -08:00
time.s
time_unsafe.go Bump build constraints to Go 1.18 2021-02-18 15:30:58 -08:00
timer.go Add AfterFunc to tcpip.Clock 2020-07-23 18:00:43 -07:00
timer_test.go