gvisor/pkg/tcpip
Ghanan Gowripalan 0864549ecc Use the user supplied TCP MSS when creating a new active socket
This change supports using a user supplied TCP MSS for new active TCP
connections. Note, the user supplied MSS must be less than or equal to the
maximum possible MSS for a TCP connection's route. If it is greater than the
maximum possible MSS, the maximum possible MSS will be used as the connection's
MSS instead.

This change does not use this user supplied MSS for connections accepted from
listening sockets - that will come in a later change.

Test: Test that outgoing TCP SYN segments contain a TCP MSS option with the user
supplied MSS if it is not greater than the maximum possible MSS for the route.
PiperOrigin-RevId: 277185125
2019-10-28 18:20:36 -07:00
..
adapters/gonet Remove centralized registration of protocols. 2019-09-25 12:57:05 -07:00
buffer netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
checker Validate the checksum for incoming ICMPv6 packets 2019-10-25 16:06:55 -07:00
hash/jenkins Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
header Validate the checksum for incoming ICMPv6 packets 2019-10-25 16:06:55 -07:00
iptables Reorder BUILD license and load functions in netstack. 2019-10-14 15:21:59 -07:00
link netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
network Validate the checksum for incoming ICMPv6 packets 2019-10-25 16:06:55 -07:00
ports Fix bugs in PickEphemeralPort for TCP. 2019-09-30 13:55:22 -07:00
sample Remove centralized registration of protocols. 2019-09-25 12:57:05 -07:00
seqnum Reorder BUILD license and load functions in netstack. 2019-10-14 15:21:59 -07:00
stack Use the user supplied TCP MSS when creating a new active socket 2019-10-28 18:20:36 -07:00
transport Use the user supplied TCP MSS when creating a new active socket 2019-10-28 18:20:36 -07:00
BUILD Reorder BUILD license and load functions in netstack. 2019-10-14 15:21:59 -07:00
tcpip.go Convert DelayOption to the newer/faster SockOpt int type. 2019-10-25 13:15:34 -07:00
tcpip_test.go Implement proper local broadcast behavior 2019-10-03 19:31:35 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Add build guard to files using go:linkname 2019-05-30 12:09:39 -07:00