Start the overlay package with the old Inside interface (#576)

This commit is contained in:
Nate Brown
2021-11-10 21:52:26 -06:00
committed by GitHub
parent 4453964e34
commit 88ce0edf76
4 changed files with 24 additions and 16 deletions

15
overlay/device.go Normal file
View File

@ -0,0 +1,15 @@
package overlay
import (
"io"
"net"
)
type Device interface {
io.ReadWriteCloser
Activate() error
CidrNet() *net.IPNet
DeviceName() string
WriteRaw([]byte) error
NewMultiQueueReader() (io.ReadWriteCloser, error)
}