tailscale/wgengine/tstun
Denton Gentry 8578b0445d tstun: add test to send a packet after Close()
This test serves two purposes:
+ check that Write() returns an error if the tstun has been
  closed.
+ ensure that the close-related code in tstun is exercised in
  a test case. We were getting spurious code coverage adds/drops
  based on timing of when the test case finished.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-01-15 19:11:40 -08:00
..
faketun.go wgengine/tstun/faketun: it's a null tunnel, not a loopback. 2020-10-08 01:01:39 -04:00
tun.go net/packet, wgengine, tstun: add inter-node TSMP protocol for connect errors 2021-01-15 14:03:57 -08:00
tun_test.go tstun: add test to send a packet after Close() 2021-01-15 19:11:40 -08:00
tun_windows.go wgengine/tstun: initialize wireguard-go TUN parameters 2021-01-08 17:22:04 -08:00