MCPcopy Index your code
hub / github.com/tailscale/tailscale / SetTransportProtocolOption

Method SetTransportProtocolOption

wgengine/netstack/netstack.go:462–464  ·  view source on GitHub ↗

SetTransportProtocolOption forwards to the underlying [stack.Stack.SetTransportProtocolOption]. Callers are responsible for ensuring that the options are valid, compatible and appropriate for their use case. Compatibility may change at any version.

(transport tcpip.TransportProtocolNumber, option tcpip.SettableTransportProtocolOption)

Source from the content-addressed store, hash-verified

460// ensuring that the options are valid, compatible and appropriate for their use
461// case. Compatibility may change at any version.
462func (ns *Impl) SetTransportProtocolOption(transport tcpip.TransportProtocolNumber, option tcpip.SettableTransportProtocolOption) tcpip.Error {
463 return ns.ipstack.SetTransportProtocolOption(transport, option)
464}
465
466// A single process might have several netstacks running at the same time.
467// Exported clientmetric counters will have a sum of counters of all of them.

Callers 3

setTCPBufSizesFunction · 0.80
CreateFunction · 0.80
initStackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected