gvisor/pkg/syserr
Ting-Yu Wang b1de1da318 netstack: Refactor tcpip.Endpoint.Read
Read now takes a destination io.Writer, count, options. Keeping the method name
Read, in contrast to the Write method.

This enables:
* direct transfer of views under VV
* zero copy

It also eliminates the need for sentry to keep a slice of view because
userspace had requested a read that is smaller than the view returned, removing
the complexity there.

Read/Peek/ReadPacket are now consolidated together and some duplicate code is
removed.

PiperOrigin-RevId: 350636322
2021-01-07 14:17:18 -08:00
..
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
host_linux.go Remove existing nogo exceptions. 2020-12-11 12:06:49 -08:00
netstack.go netstack: Refactor tcpip.Endpoint.Read 2021-01-07 14:17:18 -08:00
syserr.go Update canonical repository. 2019-06-13 16:50:15 -07:00