tailscale/wgengine/magicsock
Josh Bleecher Snyder 0c673c1344 wgengine/magicsock: unify on netaddr types in addrSet
addrSet maintained duplicate lists of netaddr.IPPorts and net.UDPAddrs.
Unify to use the netaddr type only.

This makes (*Conn).ReceiveIPvN a bit uglier,
but that'll be cleaned up in a subsequent commit.

This is preparatory work to remove an allocation from ReceiveIPv4.

Co-authored-by: Sonia Appasamy <sonia@tailscale.com>
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-02-12 09:52:43 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
legacy.go wgengine/magicsock: unify on netaddr types in addrSet 2021-02-12 09:52:43 -08:00
magicsock_test.go wgengine/magicsock: unify on netaddr types in addrSet 2021-02-12 09:52:43 -08:00
magicsock.go wgengine/magicsock: unify on netaddr types in addrSet 2021-02-12 09:52:43 -08:00