gvisor/pkg/tcpip/link
Fabricio Voznika 0ef6066167 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: 203157739
Change-Id: I31c9f7c501e3f55007f25e1852c27893a16ac6c4
2018-07-03 11:39:17 -07:00
..
channel sentry: Add simple SIOCGIFFLAGS support (IFF_RUNNING and IFF_PROMIS). 2018-05-22 13:47:33 -07:00
fdbased Resend packets back to netstack if destined to itself 2018-07-03 11:39:17 -07:00
loopback sentry: Add simple SIOCGIFFLAGS support (IFF_RUNNING and IFF_PROMIS). 2018-05-22 13:47:33 -07:00
rawfile Add mising license headers. 2018-04-28 18:10:24 -07:00
sharedmem sentry: Add simple SIOCGIFFLAGS support (IFF_RUNNING and IFF_PROMIS). 2018-05-22 13:47:33 -07:00
sniffer sentry: Add simple SIOCGIFFLAGS support (IFF_RUNNING and IFF_PROMIS). 2018-05-22 13:47:33 -07:00
tun Add mising license headers. 2018-04-28 18:10:24 -07:00
waitable sentry: Add simple SIOCGIFFLAGS support (IFF_RUNNING and IFF_PROMIS). 2018-05-22 13:47:33 -07:00