mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
committed by
gVisor bot
parent
f034790ad8
commit
e50a1f5739
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user