gvisor/pkg/tcpip/transport
Adin Scannell 7c6ab6a219 Implement splice methods for pipes and sockets.
This also allows the tee(2) implementation to be enabled, since dup can now be
properly supported via WriteTo.

Note that this change necessitated some minor restructoring with the
fs.FileOperations splice methods. If the *fs.File is passed through directly,
then only public API methods are accessible, which will deadlock immediately
since the locking is already done by fs.Splice. Instead, we pass through an
abstract io.Reader or io.Writer, which elide locks and use the underlying
fs.FileOperations directly.

PiperOrigin-RevId: 268805207
2019-09-12 17:43:27 -07:00
..
icmp Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
raw Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
tcp Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
tcpconntrack Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
udp Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00