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

Method RootNetworkNamespace

pkg/sentry/kernel/kernel.go:1825–1827  ·  view source on GitHub ↗

RootNetworkNamespace returns the root network namespace, always non-nil.

()

Source from the content-addressed store, hash-verified

1823
1824// RootNetworkNamespace returns the root network namespace, always non-nil.
1825func (k *Kernel) RootNetworkNamespace() *inet.Namespace {
1826 return k.rootNetworkNamespace
1827}
1828
1829// GlobalInit returns the thread group with ID 1 in the root PID namespace, or
1830// nil if no such thread group exists. GlobalInit may return a thread group

Callers 15

CreateProcessMethod · 0.95
ReleaseMethod · 0.95
CreateTaskFunction · 0.80
newSysNetDirMethod · 0.80
ValueMethod · 0.80
ValueMethod · 0.80
registerHandlersMethod · 0.80
CreateLinksAndRoutesMethod · 0.80
runMethod · 0.80
portForwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected