gvisor/pkg/tcpip/link
Andrei Vagin 4524790ff6 netstack: use a proper network protocol to set gso.L3HdrLen
It is possible to create a listening socket which will accept
IPv4 and IPv6 connections. In this case, we set IPv6ProtocolNumber
for all accepted endpoints, even if they handle IPv4 connections.

This means that we can't use endpoint.netProto to set gso.L3HdrLen.

PiperOrigin-RevId: 244227948
Change-Id: I5e1863596cb9f3d216febacdb7dc75651882eef1
2019-04-18 11:42:23 -07:00
..
channel netstack: use a proper network protocol to set gso.L3HdrLen 2019-04-18 11:42:23 -07:00
fdbased netstack: use a proper network protocol to set gso.L3HdrLen 2019-04-18 11:42:23 -07:00
loopback Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
muxed Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
rawfile netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00
sharedmem netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00
sniffer netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00
tun Remove license comments 2019-01-31 11:12:53 -08:00
waitable netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00