gvisor/pkg/tcpip
Fabricio Voznika ea1e39a314 Resend packets back to netstack if destined to itself
Add option to redirect packet back to netstack if it's destined to itself.
This fixes the problem where connecting to the local NIC address would
not work, e.g.:
echo bar | nc -l -p 8080 &
echo foo | nc 192.168.0.2 8080

PiperOrigin-RevId: 207995083
Change-Id: I17adc2a04df48bfea711011a5df206326a1fb8ef
2018-08-08 22:03:35 -07:00
..
adapters/gonet Move stack clock to options struct 2018-08-01 20:22:02 -07:00
buffer Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
checker stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
header Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
link Resend packets back to netstack if destined to itself 2018-08-08 22:03:35 -07:00
network Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
ports stateify: support explicit annotation mode; convert refs and stack packages. 2018-07-27 10:17:21 -07:00
sample Move stack clock to options struct 2018-08-01 20:22:02 -07:00
seqnum Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
stack Resend packets back to netstack if destined to itself 2018-08-08 22:03:35 -07:00
transport Fix data race in unix.BoundEndpoint.UnidirectionalConnect. 2018-08-08 19:23:48 -07:00
BUILD Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
tcpip.go Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
tcpip_test.go Switch netstack licenses to Apache 2.0. 2018-07-09 14:04:40 -07:00