tailscale/wgengine/magicsock
David Anderson c8c493f3d9 wgengine/magicsock: make ReceiveIPv4 a little easier to follow.
The previous code used a lot of whole-function variables and shared
behavior that only triggered based on prior action from a single codepath.
Instead of that, move the small amounts of "shared" code into each switch
case.

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-12-18 01:15:53 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
legacy.go wgengine/magicsock: move legacy endpoint creation into legacy.go. 2020-12-18 01:15:53 -08:00
magicsock_test.go wgengine/magicsock: unexport AddrSet. 2020-12-18 01:15:53 -08:00
magicsock.go wgengine/magicsock: make ReceiveIPv4 a little easier to follow. 2020-12-18 01:15:53 -08:00