netkernelconf_default.go 550 B

123456789101112131415161718
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. //go:build !linux || android
  4. package netkernelconf
  5. // CheckUDPGROForwarding is unimplemented for non-Linux platforms. Refer to the
  6. // docstring in _linux.go.
  7. func CheckUDPGROForwarding(tunInterface, defaultRouteInterface string) (warn, err error) {
  8. return nil, nil
  9. }
  10. // SetUDPGROForwarding is unimplemented for non-Linux platforms. Refer to the
  11. // docstring in _linux.go.
  12. func SetUDPGROForwarding(tunInterface, defaultRouteInterface string) error {
  13. return nil
  14. }