summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/inet/inet.go
diff options
context:
space:
mode:
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 b121fc1b4..81462571c 100644
--- a/pkg/sentry/inet/inet.go
+++ b/pkg/sentry/inet/inet.go
@@ -34,6 +34,9 @@ type Stack interface {
// interface indexes to a slice of associated interface address properties.
InterfaceAddrs() map[int32][]InterfaceAddr
+ // AddGREInterface adds a GRE tunnel interface
+ AddGREInterface(name string, local, remote InterfaceAddr) (int32, error)
+
// AddInterfaceAddr adds an address to the network interface identified by
// idx.
AddInterfaceAddr(idx int32, addr InterfaceAddr) error