mirror of
https://github.com/slackhq/nebula.git
synced 2025-01-11 11:58:11 +00:00
1a7c575011
Co-authored-by: Wade Simmons <wsimmons@slack-corp.com>
21 lines
332 B
Go
21 lines
332 B
Go
package udp
|
|
|
|
import (
|
|
"github.com/slackhq/nebula/firewall"
|
|
"github.com/slackhq/nebula/header"
|
|
)
|
|
|
|
const MTU = 9001
|
|
|
|
type EncReader func(
|
|
addr *Addr,
|
|
via interface{},
|
|
out []byte,
|
|
packet []byte,
|
|
header *header.H,
|
|
fwPacket *firewall.Packet,
|
|
lhh LightHouseHandlerFunc,
|
|
nb []byte,
|
|
q int,
|
|
localCache firewall.ConntrackCache,
|
|
)
|