gvisor/pkg/tcpip/transport
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
..
icmp Add a raw socket transport endpoint and use it for raw ICMP sockets. 2019-04-02 11:13:49 -07:00
raw Add a raw socket transport endpoint and use it for raw ICMP sockets. 2019-04-02 11:13:49 -07:00
tcp tcpip/transport/tcp: read side only shutdown of an endpoint 2019-04-19 19:29:05 -07:00
tcpconntrack Internal change. 2019-02-14 12:54:27 -08:00
udp tcpip/transport/udp: add Forwarder type 2019-04-18 17:49:57 -07:00