MCPcopy Create free account
hub / github.com/celzero/firestack / SetLinkAndRoutes

Method SetLinkAndRoutes

intra/tunnel.go:91–91  ·  view source on GitHub ↗

SetLinkAndRoutes sets the tun fd as link with mtu & engine as routes for the tunnel. where engine is one of the constants (Ns4, Ns6, Ns46) defined in package settings.

(fd, mtu, engine int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 1

rtunnelintra/tunnel.go

Calls

no outgoing calls

Tested by

no test coverage detected