conn.go 332 B

123456789101112131415161718192021
  1. package udp
  2. import (
  3. "github.com/slackhq/nebula/firewall"
  4. "github.com/slackhq/nebula/header"
  5. )
  6. const MTU = 9001
  7. type EncReader func(
  8. addr *Addr,
  9. via interface{},
  10. out []byte,
  11. packet []byte,
  12. header *header.H,
  13. fwPacket *firewall.Packet,
  14. lhh LightHouseHandlerFunc,
  15. nb []byte,
  16. q int,
  17. localCache firewall.ConntrackCache,
  18. )