commit | 75dd5c19922ddfd05e1e29a5d8867d7dc2146a98 | [log] [tgz] |
---|---|---|
author | Andrei Vagin <avagin@google.com> | Thu Jul 18 15:39:47 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Thu Jul 18 15:40:17 2019 -0700 |
tree | 44f8771ee4ec326662c61fcc56c5994605e862fe | |
parent | 5d0ed1e274209e00da5fd0f22c27f33d54e8c4f0 [diff] |
net/tcp/setockopt: impelment setsockopt(fd, SOL_TCP, TCP_INQ) PiperOrigin-RevId: 258859507
Netstack is a network stack written in Go.
Try it out on Linux by installing the tun_tcp_echo demo:
go install github.com/google/netstack/tcpip/sample/tun_tcp_echo
Create a TUN device with:
[sudo] ip tuntap add user <username> mode tun <device-name> [sudo] ip link set <device-name> up [sudo] ip addr add <ipv4-address>/<mask-length> dev <device-name>
Then run with:
tun_tcp_echo <device-name> <ipv4-address> <port>
Please see CONTRIBUTING.md for more details.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.