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

Function reconcileMtu

intra/ipn/wgproxy.go:1939–1944  ·  view source on GitHub ↗

Returns wg header (80 bytes) minus min(underlay, overlay). Returns NOMTU if underlay is <= NOMTU. Returns minoverlay if overlay is <= NOMTU.

(underlay, overlay, minoverlay int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

makeWgTunFunction · 0.85
maybeResetMtuMethod · 0.85

Calls 1

calcTunMtu2Function · 0.85

Tested by

no test coverage detected