nebula/overlay/device.go

16 lines
232 B
Go
Raw Normal View History

package overlay
import (
"io"
"net/netip"
)
type Device interface {
io.ReadWriteCloser
Activate() error
Cidr() netip.Prefix
Name() string
RouteFor(netip.Addr) netip.Addr
NewMultiQueueReader() (io.ReadWriteCloser, error)
}