gvisor/pkg/tcpip/transport/tcp
Ben Burkert 56927e5317 tcpip/transport/tcp: read side only shutdown of an endpoint
Support shutdown on only the read side of an endpoint. Reads performed
after a call to Shutdown with only the ShutdownRead flag will return
ErrClosedForReceive without data.

Break out the shutdown(2) with SHUT_RD syscall test into to two tests.
The first tests that no packets are sent when shutting down the read
side of a socket. The second tests that, after shutting down the read
side of a socket, unread data can still be read, or an EOF if there is
no more data to read.

Change-Id: I9d7c0a06937909cbb466b7591544a4bcaebb11ce
PiperOrigin-RevId: 244459430
2019-04-19 19:29:05 -07:00
..
testing/context netstack: use a proper network protocol to set gso.L3HdrLen 2019-04-18 11:42:23 -07:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
accept.go netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00
connect.go Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
cubic.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
dual_stack_test.go netstack: use a proper network protocol to set gso.L3HdrLen 2019-04-18 11:42:23 -07:00
endpoint.go tcpip/transport/tcp: read side only shutdown of an endpoint 2019-04-19 19:29:05 -07:00
endpoint_state.go Implement IP_MULTICAST_LOOP. 2019-03-08 15:49:17 -08:00
forwarder.go Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
protocol.go Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
rcv.go Remove duplicate TCP flag definitions 2019-03-14 10:19:21 -07:00
reno.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
sack.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
sack_scoreboard.go Fix Panic in SACKScoreboard.Delete. 2019-03-28 18:18:39 -07:00
sack_scoreboard_test.go Fix Panic in SACKScoreboard.Delete. 2019-03-28 18:18:39 -07:00
segment.go Add TCP checksum verification. 2019-04-09 11:23:47 -07:00
segment_heap.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
segment_queue.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
segment_state.go Add new retransmissions and recovery related metrics. 2019-03-05 16:41:44 -08:00
snd.go netstack/fdbased: add generic segmentation offload (GSO) support 2019-03-28 11:03:41 -07:00
snd_state.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
tcp_sack_test.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
tcp_test.go tcpip/transport/tcp: read side only shutdown of an endpoint 2019-04-19 19:29:05 -07:00
tcp_timestamp_test.go Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
timer.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00