MCPcopy Index your code
hub / github.com/google/gvisor / Stack

Method Stack

pkg/sentry/socket/netlink/socket.go:174–176  ·  view source on GitHub ↗

Stack returns the network stack associated with the socket.

()

Source from the content-addressed store, hash-verified

172
173// Stack returns the network stack associated with the socket.
174func (s *Socket) Stack() inet.Stack {
175 return s.netns.Stack()
176}
177
178// NetworkNamespace returns the network namespace associated with the socket.
179func (s *Socket) NetworkNamespace() *inet.Namespace {

Callers 1

checkMcastSupportMethod · 0.95

Calls 1

StackMethod · 0.65

Tested by

no test coverage detected