Remove the amss field from tcpip.tcp.handshake as it was unused

The amss field in the tcpip.tcp.handshake was not used anywhere. Removed it to
not cause confusion with the amss field in the tcpip.tcp.endpoint struct, which
was documented to be used (and is actually being used) for the same purpose.

PiperOrigin-RevId: 276577088
This commit is contained in:
Ghanan Gowripalan
2019-10-24 15:23:43 -07:00
committed by gVisor bot
parent f034790ad8
commit e50a1f5739
-3
View File
@@ -78,9 +78,6 @@ type handshake struct {
// mss is the maximum segment size received from the peer.
mss uint16
// amss is the maximum segment size advertised by us to the peer.
amss uint16
// sndWndScale is the send window scale, as defined in RFC 1323. A
// negative value means no scaling is supported by the peer.
sndWndScale int