You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Mihai Parparita b64d78d58f sockstats: refactor validation to be opt-in
Followup to #7499 to make validation a separate function (
GetWithValidation vs. Get). This way callers that don't need it don't
pay the cost of a syscall per active TCP socket.

Also clears the conn on close, so that we don't double-count the stats.

Also more consistently uses Go doc comments for the exported API of the
sockstats package.

Updates tailscale/corp#9230
Updates #3363

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
connstats
dns sockstats: switch label to enum 2 years ago
dnscache
dnsfallback
flowtrack
interfaces all: use tstest.Replace more 2 years ago
memnet
netaddr
netcheck sockstats: switch label to enum 2 years ago
neterror
netknob
netns
netstat
netutil
packet
ping
portmapper sockstats: switch label to enum 2 years ago
proxymux
routetable
socks5 net/socks5: add password auth support 2 years ago
sockstats sockstats: refactor validation to be opt-in 2 years ago
speedtest
stun
tlsdial
tsaddr
tsdial
tshttpproxy all: use tstest.Replace more 2 years ago
tstun
wsconn