gvisor/pkg/tcpip
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
..
adapters/gonet Updates tcp_proxy to use an AF_PACKET and veth devices. 2019-02-19 18:23:54 -08:00
buffer Remove license comments 2019-01-31 11:12:53 -08:00
checker Remove license comments 2019-01-31 11:12:53 -08:00
hash/jenkins Remove license comments 2019-01-31 11:12:53 -08:00
header Remove license comments 2019-01-31 11:12:53 -08:00
link Add support for using PACKET_RX_RING to receive packets. 2019-02-13 14:53:03 -08:00
network Remove license comments 2019-01-31 11:12:53 -08:00
ports Remove license comments 2019-01-31 11:12:53 -08:00
sample Remove license comments 2019-01-31 11:12:53 -08:00
seqnum Remove license comments 2019-01-31 11:12:53 -08:00
stack Implement IP_MULTICAST_IF. 2019-02-15 18:40:15 -08:00
transport Implement IP_MULTICAST_IF. 2019-02-15 18:40:15 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
tcpip.go Implement IP_MULTICAST_IF. 2019-02-15 18:40:15 -08:00
tcpip_test.go Implement Stringer for tcpip.StatCounter 2019-01-08 12:35:35 -08:00
time.s Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
time_unsafe.go Whitelist Go 1.12 for tcpip/time_unsafe.go 2018-12-04 15:52:14 -08:00