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/wgengine
Josh Bleecher Snyder 6ef734e493 wgengine: predict min.Peers length across calls
The number of peers we have will be pretty stable across time.
Allocate roughly the right slice size.
This reduces memory usage when there are many peers.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
bench wgengine: randomize client port if netmap says to 3 years ago
filter tstime/rate: new package 3 years ago
magicsock wgengine/magicsock: move debug knobs to their own file, compile out on iOS 3 years ago
monitor all: gofmt with Go 1.17 3 years ago
netstack wgengine/netstack: implement UDP relaying to advertised subnets 3 years ago
router wgengine/router: pass in AmbientCaps when calling `ip rule` 3 years ago
wgcfg wgcfg: Switch to using mem.RO 3 years ago
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 4 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go wgengine/magicsock: use mono.Time 3 years ago
userspace.go wgengine: predict min.Peers length across calls 3 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go wgengine: use mono.Time 3 years ago
watchdog.go wgengine: randomize client port if netmap says to 3 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 4 years ago
wgengine.go wgengine: randomize client port if netmap says to 3 years ago