conn.go 314 B

1234567891011121314151617181920
  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. out []byte,
  10. packet []byte,
  11. header *header.H,
  12. fwPacket *firewall.Packet,
  13. lhh LightHouseHandlerFunc,
  14. nb []byte,
  15. q int,
  16. localCache firewall.ConntrackCache,
  17. )