summaryrefslogtreecommitdiffhomepage
path: root/tun/netstack
AgeCommit message (Collapse)Author
2021-02-03Merge branch 'tun-net-with-stack' into buildandroidMikael Magnusson
2021-02-03WIP: fix varMikael Magnusson
2021-02-03Merge branch 'tun-net-with-stack' into buildMikael Magnusson
2021-02-03WIP fix typesMikael Magnusson
2021-02-03Merge branch 'tun-net-with-stack' into buildMikael Magnusson
2021-02-03WIP: use zone as nic, default to 0Mikael Magnusson
2021-02-02Merge branches 'debug' and 'tun-net-with-stack' into build2Mikael Magnusson
2021-02-02WIP adapt to changed tunstackMikael Magnusson
2021-02-02tun: add CreateNetTUNWithStackMikael Magnusson
2021-02-02tun: implement AddAddressMikael Magnusson
2021-02-02WIP debugMikael Magnusson
2021-02-02WIP fix printfMikael Magnusson
2021-02-02WIP debug tunMikael Magnusson
2021-01-21netstack: further sequester with own go.mod and go.sumJason A. Donenfeld
In order to avoid even the flirtation with passing on these dependencies to ordinary consumers of wireguard-go, this commit makes a new go.mod that's entirely separate from the root one. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-01-21netstack: introduce new module for gvisor tcp tun adapterJason A. Donenfeld
The Go linker isn't smart enough to prevent gvisor from being pulled into modules that use other parts of tun/, due to the types exposed. So, we put this into its own standalone module. We use this as an opportunity to introduce some example code as well. I'm still not happy that this not only clutters this repo's go.sum, but all the other projects that consume it, but it seems like making a new module inside of this repo will lead to even greater confusion. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>