summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/inet/inet.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-08 19:42:12 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-08 19:42:12 +0000
commit3e8a2e033f3e1245d027592aa490d38fbf86f20b (patch)
tree858bdde11fe4fb67735253e43635a93afd55c490 /pkg/sentry/inet/inet.go
parent4f3f4cd15b73ab00d6423717cf9bfb2b8b709779 (diff)
parent13a98df49ea1b36cd21c528293b626a6a3639f0b (diff)
Merge 13a98df4 (automated)
Diffstat (limited to 'pkg/sentry/inet/inet.go')
-rw-r--r--pkg/sentry/inet/inet.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/inet/inet.go b/pkg/sentry/inet/inet.go
index 60d6dfb93..80f227dbe 100644
--- a/pkg/sentry/inet/inet.go
+++ b/pkg/sentry/inet/inet.go
@@ -55,6 +55,9 @@ type Stack interface {
// RouteTable returns the network stack's route table.
RouteTable() []Route
+
+ // Resume restarts the network stack after restore.
+ Resume()
}
// Interface contains information about a network interface.