mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-16 11:58:27 +01:00
18 lines
280 B
Go
18 lines
280 B
Go
package overlay
|
|
|
|
import (
|
|
"net/netip"
|
|
|
|
"github.com/slackhq/nebula/routing"
|
|
)
|
|
|
|
type Device interface {
|
|
TunDev
|
|
Activate() error
|
|
Networks() []netip.Prefix
|
|
Name() string
|
|
RoutesFor(netip.Addr) routing.Gateways
|
|
SupportsMultiqueue() bool
|
|
NewMultiQueueReader() (TunDev, error)
|
|
}
|