1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00
wireguard-go/device
Josh Bleecher Snyder 15af3e58ce device: use channel close to shut down and drain outbound channel
This is a similar treatment to the handling of the encryption
channel found a few commits ago: Use the closing of the channel
to manage goroutine lifetime and shutdown.
It is considerably simpler because there is only a single writer.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-12-16 16:16:26 -08:00
..
allowedips_rand_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
allowedips_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
allowedips.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
bind_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
constants.go replay: account for fqcodel reordering 2020-05-19 17:46:35 -06:00
cookie_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
cookie.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
device_test.go device: fix persistent_keepalive_interval data races 2020-12-15 16:57:09 -08:00
device.go device: fix persistent_keepalive_interval data races 2020-12-15 16:57:09 -08:00
endpoint_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
indextable.go device: remove some unnecessary unsafe 2020-07-15 06:59:44 +10:00
ip.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
kdf_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
keypair.go replay: minor API changes to more idiomatic Go 2020-10-14 10:46:00 +02:00
logger.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
misc.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
mobilequirks.go device: format a few things 2020-11-06 18:01:27 +01:00
noise_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
noise-helpers.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
noise-protocol.go replay: minor API changes to more idiomatic Go 2020-10-14 10:46:00 +02:00
noise-types.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
peer_test.go device: avoid copying lock in tests 2020-12-08 14:25:10 -08:00
peer.go device: use channel close to shut down and drain outbound channel 2020-12-16 16:16:26 -08:00
pools.go device: clear pointers when returning elems to pools 2020-12-08 14:25:02 -08:00
queueconstants_android.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
queueconstants_default.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
queueconstants_ios.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
receive.go device: simplify copying counter to nonce 2020-12-15 18:11:55 +01:00
send.go device: use channel close to shut down and drain outbound channel 2020-12-16 16:16:26 -08:00
sticky_default.go device: do not include sticky sockets on android 2020-06-07 01:50:20 -06:00
sticky_linux.go device: use RTMGRP_IPV4_ROUTE to specify multicast groups mask 2020-07-13 17:58:10 -06:00
timers.go device: fix persistent_keepalive_interval data races 2020-12-15 16:57:09 -08:00
tun_test.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun.go device: remove starting waitgroups 2020-12-10 22:37:10 +01:00
uapi.go device: fix persistent_keepalive_interval data races 2020-12-15 16:57:09 -08:00
version.go version: bump snapshot 2020-11-18 14:24:17 +01:00