commit | 33c2ec0359da273ae1a7c214d39939b603ce5941 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri Sep 21 12:32:20 2018 -0700 |
committer | Shentubot <shentubot@google.com> | Fri Sep 21 12:33:04 2018 -0700 |
tree | b9662689e2a7e32c83fcf36fd361ac2161b40310 | |
parent | e2d947673afd54f848e9cad30b40cea11aa896cf [diff] |
Deflake TestSimpleReceive ...by increasing the allotted timeout and using direct comparison rather than reflect.DeepEqual (which should be faster). PiperOrigin-RevId: 214027024
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.