gvisor/pkg/sentry/socket
Kevin Krakauer eccae0f77d Remove View.First() and View.RemoveFirst()
These methods let users eaily break the VectorisedView abstraction, and
allowed netstack to slip into pseudo-enforcement of the "all headers are
in the first View" invariant. Removing them and replacing with PullUp(n)
breaks this reliance and will make it easier to add iptables support and
rework network buffer management.

The new View.PullUp(n) method is low cost in the common case, when when
all the headers fit in the first View.

PiperOrigin-RevId: 308163542
2020-04-23 17:28:49 -07:00
..
control Enable IPV6_RECVTCLASS socket option for datagram sockets 2020-02-18 15:45:36 -08:00
hostinet Internal change. 2020-02-13 10:59:52 -08:00
netfilter Remove View.First() and View.RemoveFirst() 2020-04-23 17:28:49 -07:00
netlink Move Align{Up,Down} into binary package. 2020-02-11 11:09:31 -08:00
netstack Sentry metrics updates. 2020-04-21 09:36:43 -07:00
unix Permit setting unknown options 2020-04-17 06:41:38 -07:00
BUILD Add FileDescription interface for socket files. 2020-04-01 07:57:12 -07:00
socket.go Record VFS2 sockets in global socket map. 2020-04-04 21:02:42 -07:00