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

Method Type

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

Type returns the family, socket type and protocol of the socket.

()

Source from the content-addressed store, hash-verified

301
302 // Type returns the family, socket type and protocol of the socket.
303 Type() (family int, skType linux.SockType, protocol int)
304}
305
306// Provider is the interface implemented by providers of sockets for

Callers 15

valueAndObjectMethod · 0.65
addTypeAliasMethod · 0.65
fieldEntryForMethod · 0.65
findFieldMethod · 0.65
lockKindMethod · 0.65
resolveFieldListPartsMethod · 0.65
maybeFindFieldListObjMethod · 0.65
structLockGuardFactsMethod · 0.65
typeAlignmentMethod · 0.65
applyTypeAliasesMethod · 0.65
checkGuardsMethod · 0.65
checkFieldAccessMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestSlicesFunction · 0.52
checkMessageReceiveFunction · 0.52
TestToFlagsFromManualFunction · 0.52