gvisor/pkg/tcpip
Arthur Sfez 7ca62b9daa Only use the NextHeader value of the first IPv6 fragment extension header.
As per RFC 8200 Section 4.5:
  The Next Header field of the last header of the Per-Fragment
  headers is obtained from the Next Header field of the first
  fragment's Fragment header.

Test:
  - pkg/tcpip/network/ipv6:ipv6_test
  - pkg/tcpip/network/ipv4:ipv4_test
  - pkg/tcpip/network/fragmentation:fragmentation_test

Updates #2197

PiperOrigin-RevId: 327671635
2020-08-20 12:06:45 -07:00
..
adapters/gonet Drop flaky tag. 2020-06-05 16:39:08 -07:00
buffer Migrate to PacketHeader API for PacketBuffer. 2020-08-13 13:08:57 -07:00
checker Give the ICMP Code its own type 2020-08-14 02:07:36 -07:00
hash/jenkins Standardize on tools directory. 2020-01-27 12:21:00 -08:00
header Give the ICMP Code its own type 2020-08-14 02:07:36 -07:00
link Migrate to PacketHeader API for PacketBuffer. 2020-08-13 13:08:57 -07:00
network Only use the NextHeader value of the first IPv6 fragment extension header. 2020-08-20 12:06:45 -07:00
ports Add support for SO_REUSEADDR to TCP sockets/endpoints. 2020-06-23 19:15:38 -07:00
sample Standardize on tools directory. 2020-01-27 12:21:00 -08:00
seqnum Don't accept segments outside the receive window 2020-04-19 22:16:14 -07:00
stack Remove address range functions 2020-08-17 12:30:05 -07:00
tests/integration Migrate to PacketHeader API for PacketBuffer. 2020-08-13 13:08:57 -07:00
transport RACK: Create a new list for segments. 2020-08-18 15:59:37 -07:00
BUILD Move tcpip.PacketBuffer and IPTables to stack package. 2020-03-24 09:06:26 -07:00
tcpip.go Ensure TCP TIME-WAIT is not terminated prematurely. 2020-08-13 09:04:31 -07:00
tcpip_test.go Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Add AfterFunc to tcpip.Clock 2020-07-23 18:00:43 -07:00
timer.go Add AfterFunc to tcpip.Clock 2020-07-23 18:00:43 -07:00
timer_test.go Add AfterFunc to tcpip.Clock 2020-07-23 18:00:43 -07:00