MCPcopy
hub / github.com/google/gvisor / SocketOptions

Method SocketOptions

pkg/sentry/socket/netstack/netstack.go:413–413  ·  view source on GitHub ↗

SocketOptions implements tcpip.Endpoint.SocketOptions and transport.Endpoint.SocketOptions.

()

Source from the content-addressed store, hash-verified

411 // SocketOptions implements tcpip.Endpoint.SocketOptions and
412 // transport.Endpoint.SocketOptions.
413 SocketOptions() *tcpip.SocketOptions
414}
415
416// sock encapsulates all the state needed to represent a network stack

Callers 15

CloseMethod · 0.65
BidirectionalConnectMethod · 0.65
NewFunction · 0.65
ReleaseMethod · 0.65
checkFamilyMethod · 0.65
GetSockOptSocketFunction · 0.65
getSockOptTCPMethod · 0.65
getSockOptIPv6Method · 0.65
getSockOptIPMethod · 0.65
SetSockOptSocketFunction · 0.65
setSockOptTCPMethod · 0.65
setSockOptIPv6Method · 0.65

Implementers 8

endpointpkg/tcpip/transport/raw/endpoint.go
endpointpkg/tcpip/transport/internal/noop/endp
endpointpkg/tcpip/transport/udp/endpoint.go
endpointpkg/tcpip/transport/icmp/endpoint.go
Endpointpkg/tcpip/transport/tcp/endpoint.go
endpointpkg/tcpip/transport/packet/endpoint.go
fakeTransportEndpointpkg/tcpip/stack/transport_test.go
mockTCPEndpointrunsc/boot/portforward/portforward_tes

Calls

no outgoing calls

Tested by

no test coverage detected