Push route handling into overlay, a few more nits fixed (#581)

This commit is contained in:
Nate Brown
2021-11-12 11:19:28 -06:00
committed by GitHub
parent 2f1f0d602f
commit 467e605d5e
17 changed files with 300 additions and 185 deletions

View File

@@ -3,6 +3,8 @@ package overlay
import (
"io"
"net"
"github.com/slackhq/nebula/iputil"
)
type Device interface {
@@ -11,5 +13,6 @@ type Device interface {
CidrNet() *net.IPNet
DeviceName() string
WriteRaw([]byte) error
RouteFor(iputil.VpnIp) iputil.VpnIp
NewMultiQueueReader() (io.ReadWriteCloser, error)
}