gvisor/pkg/tcpip/adapters/gonet
Bhasker Hariharan 3e3a1ef9d6 Updates tcp_proxy to use an AF_PACKET and veth devices.
tcp_proxy now uses an AF_PACKET socket as the FD for netstack link layer
endpoint instead of a tap device. It also changes the link layer endpoint to use
PacketMMap dispatch instead of Readv. This reduces overall cpu and reflects the
current runsc setup which uses PacketMMap and also uses veth devices to receive
packets.

Also fixed a bug in gonet where Read() was not doing coalescing read and would
read small amounts at a time.

PiperOrigin-RevId: 234714768
Change-Id: Idabf8e600e4512489d3ba441c4096dc74deba5d7
2019-02-19 18:23:54 -08:00
..
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
gonet.go Updates tcp_proxy to use an AF_PACKET and veth devices. 2019-02-19 18:23:54 -08:00
gonet_test.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00