commit | a24973aa5333c349b5de7ff615275d44150b25b0 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri Aug 23 10:42:53 2019 -0700 |
committer | gVisor bot <gvisor-bot@google.com> | Fri Aug 23 10:43:17 2019 -0700 |
tree | bbc293b37fcd3dc74b00567158a05fc94e46f5ab | |
parent | a6072d1308d28709ead0d61a5145d4eb1a2ed3a6 [diff] |
Implement fmt.Stringer on Route by value This is more convenient, since it implements the interface for both value and pointer. PiperOrigin-RevId: 265086510
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.
Netstack is primarily developed as part of gVisor and any issues/bugs should be filed against the gVisor repository as this repo is not actively monitored for bug reports.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.