debugknobs_ios.go 607 B

1234567891011121314151617181920
  1. // Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package magicsock
  5. // All knobs are disabled on iOS.
  6. // Further, they're const, so the toolchain can produce smaller binaries.
  7. const (
  8. logPacketDests = false
  9. debugDisco = false
  10. debugOmitLocalAddresses = false
  11. debugUseDerpRouteEnv = ""
  12. debugUseDerpRoute = false
  13. logDerpVerbose = false
  14. debugReSTUNStopOnIdle = false
  15. debugAlwaysDERP = false
  16. )
  17. func inTest() bool { return false }