commit | fa43101cd670ce3a9770d24385059e05f389e22c | [log] [tgz] |
---|---|---|
author | Amanda Tait <atait@google.com> | Mon Apr 16 17:03:54 2018 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Apr 17 14:53:18 2018 +0000 |
tree | c0fe44df35b5be6f5bb815c50c8f2662d2694e4f | |
parent | e84929da29daa14437e507ea3b8b23d9416c125e [diff] |
[netstack] Fix broken ipv6 tests This change fixes test build errors in /third_party/netstack/tcpip/network/ipv6 and gets the tests passing. test: go test passes NET-748 Change-Id: Ie45711301f2a26442b88310980a1a49ef1514ad2
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>
We would love to accept contributions, but we have not yet worked out how to handle them. Please contact us before sending any pull requests.
Whatever we do decide on will require signing the Google Contributor License. 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.