Start the overlay package with the old Inside interface (#576)
This commit is contained in:
15
overlay/device.go
Normal file
15
overlay/device.go
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user