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
Brad Fitzpatrick 4e91cf20a8 control/controlknobs, all: add plumbed Knobs type, not global variables
Previously two tsnet nodes in the same process couldn't have disjoint
sets of controlknob settings from control as both would overwrite each
other's global variables.

This plumbs a new controlknobs.Knobs type around everywhere and hangs
the knobs sent by control on that instead.

Updates #9351

Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
bench types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2 years ago
capture various: add golangci-lint, fix issues (#7905) 3 years ago
filter all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 2 years ago
magicsock control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
netlog wgengine/netlog: fix nil pointer dereference in logtail (#8598) 2 years ago
netstack types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 2 years ago
router all: use set.Set consistently instead of map[T]struct{} 2 years ago
wgcfg types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 2 years ago
wgint all: update copyright and license headers 3 years ago
wglog all: update copyright and license headers 3 years ago
winnet all: update copyright and license headers 3 years ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2 years ago
userspace.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 3 years ago
userspace_test.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
watchdog.go all: remove some Debug fields, NetworkMap.Debug, Reconfig Debug arg 2 years ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go all: update copyright and license headers 3 years ago
wgengine.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2 years ago