diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-29 23:19:15 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-29 23:19:15 +0000 |
commit | 06ea1e9d8d3c90b2ed0fb5e37671d3c13e9488ff (patch) | |
tree | fb89717e8ab99fab9d642da7301829e6a84bbfa3 /pkg/sentry/socket/netstack/stack.go | |
parent | 1e215c2f266a464d3ca0ef9da15f8f121d7d5287 (diff) | |
parent | a2c51efe3669f0380042b2375eae79e403d3680c (diff) |
Merge release-20190806.1-343-ga2c51ef (automated)
Diffstat (limited to 'pkg/sentry/socket/netstack/stack.go')
-rwxr-xr-x | pkg/sentry/socket/netstack/stack.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/sentry/socket/netstack/stack.go b/pkg/sentry/socket/netstack/stack.go index d5db8c17c..a0db2d4fd 100755 --- a/pkg/sentry/socket/netstack/stack.go +++ b/pkg/sentry/socket/netstack/stack.go @@ -291,3 +291,18 @@ func (s *Stack) FillDefaultIPTables() { func (s *Stack) Resume() { s.Stack.Resume() } + +// RegisteredEndpoints implements inet.Stack.RegisteredEndpoints. +func (s *Stack) RegisteredEndpoints() []stack.TransportEndpoint { + return s.Stack.RegisteredEndpoints() +} + +// CleanupEndpoints implements inet.Stack.CleanupEndpoints. +func (s *Stack) CleanupEndpoints() []stack.TransportEndpoint { + return s.Stack.CleanupEndpoints() +} + +// RestoreCleanupEndpoints implements inet.Stack.RestoreCleanupEndpoints. +func (s *Stack) RestoreCleanupEndpoints(es []stack.TransportEndpoint) { + s.Stack.RestoreCleanupEndpoints(es) +} |