tailscale/wgengine/magicsock
Josh Bleecher Snyder fe7c3e9c17 all: move wgcfg from wireguard-go
This is mostly code movement from the wireguard-go repo.

Most of the new wgcfg package corresponds to the wireguard-go wgcfg package.

wgengine/wgcfg/device{_test}.go was device/config{_test}.go.
There were substantive but simple changes to device_test.go to remove
internal package device references.

The API of device.Config (now wgcfg.DeviceConfig) grew an error return;
we previously logged the error and threw it away.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-01-29 12:52:56 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
legacy.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
magicsock_test.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
magicsock.go wgengine/magicsock: disable regular STUNs for all platforms by default 2021-01-21 14:56:07 -08:00