MCPcopy
hub / github.com/tailscale/tailscale / Set

Method Set

wgengine/router/router.go:36–36  ·  view source on GitHub ↗

Set updates the OS network stack with a new Config. It may be called multiple times with identical Configs, which the implementation should handle gracefully.

(*Config)

Source from the content-addressed store, hash-verified

34 // called multiple times with identical Configs, which the
35 // implementation should handle gracefully.
36 Set(*Config) error
37
38 // Close closes the router.
39 Close() error

Callers 15

resetLogTargetFunction · 0.65
TestLoopbackLocalAPIFunction · 0.65
dialIngressConnFunction · 0.65
dnsPOSTRequestMethod · 0.65
ACLMethod · 0.65
ACLHuJSONMethod · 0.65
aclPOSTRequestMethod · 0.65
previewACLPostRequestMethod · 0.65
ValidateACLJSONMethod · 0.65
DoMethod · 0.65
NetworkLockLogMethod · 0.65
DoLocalRequestMethod · 0.65

Implementers 7

CallbackRouterwgengine/router/callback.go
fakeRouterwgengine/router/router_fake.go
userspaceBSDRouterwgengine/router/osrouter/router_usersp
winRouterwgengine/router/osrouter/router_window
linuxRouterwgengine/router/osrouter/router_linux.
plan9Routerwgengine/router/osrouter/router_plan9.
openbsdRouterwgengine/router/osrouter/router_openbs

Calls

no outgoing calls

Tested by 15

resetLogTargetFunction · 0.52
TestLoopbackLocalAPIFunction · 0.52
dialIngressConnFunction · 0.52
TestUserDialSelfFunction · 0.52
TestCSRFProtectFunction · 0.52
brokenMITMHandlerFunction · 0.52
runDialPlanTestFunction · 0.52
runMethod · 0.52
TestParseRateLimitErrorFunction · 0.52
connectProxyToFunction · 0.52
TestGValueSetFunction · 0.52
TestGMapSetFunction · 0.52