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/magicsock
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
..
batching_conn.go wgengine/magicsock: factor out more separable parts 2 years ago
blockforever_conn.go wgengine/magicsock: factor out more separable parts 2 years ago
debughttp.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2 years ago
debugknobs.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
debugknobs_stubs.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
derp.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
discopingpurpose_string.go all: update copyright and license headers 3 years ago
dontfrag_darwin.go magicsock: set the don't fragment sockopt (#8715) 2 years ago
dontfrag_default.go magicsock: set the don't fragment sockopt (#8715) 2 years ago
dontfrag_linux.go magicsock: set the don't fragment sockopt (#8715) 2 years ago
endpoint.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
endpoint_default.go all: adjust some build tags for plan9 2 years ago
endpoint_stub.go all: adjust some build tags for plan9 2 years ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
magicsock.go control/controlknobs, all: add plumbed Knobs type, not global variables 2 years ago
magicsock_default.go wgengine/magicsock: delete unused stuff 2 years ago
magicsock_linux.go wgengine/magicsock: clarify a log message is a warning, not an error 3 years ago
magicsock_test.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
magicsock_unix_test.go all: update copyright and license headers 3 years ago
peermap.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
rebinding_conn.go wgengine/magicsock: factor out more separable parts 2 years ago