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

Function getSockOptSocketCustom

pkg/sentry/socket/netstack/socketopt_custom.go:37–39  ·  view source on GitHub ↗

getSockOptSocketCustom handles GetSockOpt options not handled by getSockOptSocket. It returns a bool indicating whether the option was handled in addition to return values from getSockOptSocket.

(t *kernel.Task, s socket.Socket, ep commonEndpoint, name int, outLen int)

Source from the content-addressed store, hash-verified

35// It returns a bool indicating whether the option was handled in addition to
36// return values from getSockOptSocket.
37func getSockOptSocketCustom(t *kernel.Task, s socket.Socket, ep commonEndpoint, name int, outLen int) (marshal.Marshallable, *syserr.Error, bool) {
38 return nil, nil, false
39}
40
41func setSockOptIPCustom(t *kernel.Task, s socket.Socket, ep commonEndpoint, name int, optVal []byte) (*syserr.Error, bool) {
42 return nil, false

Callers 1

GetSockOptSocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…