0
0
Fork 0
mirror of https://github.com/slackhq/nebula.git synced 2025-01-11 20:08:12 +00:00
slackhq_nebula/udp/temp.go
2021-11-03 20:54:04 -05:00

14 lines
428 B
Go

package udp
import (
"github.com/slackhq/nebula/header"
"github.com/slackhq/nebula/iputil"
)
//TODO: The items in this file belong in their own packages but doing that in a single PR is a nightmare
type EncWriter interface {
SendMessageToVpnIp(t header.MessageType, st header.MessageSubType, vpnIp iputil.VpnIp, p, nb, out []byte)
}
type LightHouseHandlerFunc func(rAddr *Addr, vpnIp iputil.VpnIp, p []byte, w EncWriter)