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

Method SetLinkMtu

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

SetLinkMtu sets the link MTU (which must the MTU matching the underlying network or min of MTUs of all available underlying networks). Link MTU is different from tun MTU which must match the TUN device's MTU. Link MTU is used as a hint by some Proxy implementations (eg. WireGuard).

(linkmtu 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