commit | 284c9ce35aacdb7ed4e534d12cda719c679238fd | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Fri May 03 11:51:59 2019 -0700 |
committer | Shentubot <shentubot@google.com> | Fri May 03 11:52:23 2019 -0700 |
tree | 6f1520466363d4567889a117c022c0bf893fdab7 | |
parent | 754c52528371256696df2bce66d4f2480f53fbdf [diff] |
Fix transport/raw copybara export - include packet_list.go - exclude state.go (by renaming to include an underscore) Also rename raw.go to endpoint.go for consistency. PiperOrigin-RevId: 246547912
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.