gvisor/pkg/tcpip/stack
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
..
BUILD Respect new PrimaryEndpointBehavior when addresses gets promoted to permanent 2019-10-22 13:54:33 -07:00
icmp_rate_limit.go Simplify ICMPRateLimiter 2019-09-24 09:50:51 -07:00
linkaddrcache.go Populate link address cache at dispatch 2019-08-27 18:54:56 -07:00
linkaddrcache_test.go Populate link address cache at dispatch 2019-08-27 18:54:56 -07:00
ndp.go Use interface-specific NDP configurations instead of the stack-wide default. 2019-10-24 11:09:18 -07:00
ndp_test.go Use interface-specific NDP configurations instead of the stack-wide default. 2019-10-24 11:09:18 -07:00
nic.go Use the user supplied TCP MSS when creating a new active socket 2019-10-28 18:20:36 -07:00
registration.go netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
route.go netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
stack.go Use interface-specific NDP configurations instead of the stack-wide default. 2019-10-24 11:09:18 -07:00
stack_global_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
stack_test.go Inform netstack integrator when Duplicate Address Detection completes 2019-10-23 13:26:35 -07:00
transport_demuxer.go AF_PACKET support for netstack (aka epsocket). 2019-10-21 13:23:18 -07:00
transport_demuxer_test.go Implement SO_BINDTODEVICE sockopt 2019-09-27 14:14:04 -07:00
transport_test.go Internal change. 2019-10-14 17:46:52 -07:00