tailscale/net
Brad Fitzpatrick fb96137d79 net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl
This adds netx.DialFunc, unifying a type we have a bazillion other
places, giving it now a nice short name that's clickable in
editors, etc.

That highlighted that my earlier move (03b47a55c7) of stuff from
nettest into netx moved too much: it also dragged along the memnet
impl, meaning all users of netx.DialFunc who just wanted netx for the
type definition were instead also pulling in all of memnet.

So move the memnet implementation netx.Network into memnet, a package
we already had.

Then use netx.DialFunc in a bunch of places. I'm sure I missed some.
And plenty remain in other repos, to be updated later.

Updates tailscale/corp#27636

Change-Id: I7296cd4591218e8624e214f8c70dab05fb884e95
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-04-08 10:07:47 -07:00
..
art
bakedroots
captivedetection tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 2025-03-07 23:15:38 -07:00
connstats
dns net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
dnscache net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
dnsfallback
flowtrack
ipset
ktimeout various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt (#15063) 2025-02-19 10:41:45 -08:00
memnet net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
netaddr
netcheck all: use network less when running in v86 emulator 2025-04-02 07:36:04 -07:00
neterror
netkernelconf
netknob
netmon net/netmon: disable time jump monitoring on Plan 9 2025-04-02 07:36:04 -07:00
netns
netstat
netutil
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
packet net/packet: implement Geneve header serialization (#15301) 2025-03-13 13:33:26 -07:00
ping
portmapper net/portmapper: retry UPnP when we get an "Invalid Args" 2025-03-07 14:06:13 -05:00
proxymux
routetable net/routetable: don't try to fetch the route table on android 2025-04-03 14:37:14 -07:00
socks5
sockstats
speedtest
stun
stunserver
tcpinfo
tlsdial cmd/derper, derp/derphttp: support, generate self-signed IP address certs 2025-03-07 05:36:55 -08:00
tsaddr
tsdial net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
tshttpproxy
tstun net/tstun: don't try to set link attributes on android 2025-04-03 14:37:14 -07:00
udprelay net/udprelay: start of UDP relay server implementation (#15480) 2025-03-31 19:41:57 -07:00
wsconn