2020-09-23 20:21:52 +00:00
|
|
|
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2020-10-06 22:22:46 +00:00
|
|
|
// +build !darwin,!windows
|
2020-09-23 20:21:52 +00:00
|
|
|
|
2021-04-01 04:54:38 +00:00
|
|
|
package resolver
|
2020-09-23 20:21:52 +00:00
|
|
|
|
|
|
|
func networkIsDown(err error) bool { return false }
|
|
|
|
func networkIsUnreachable(err error) bool { return false }
|
2021-06-07 21:16:07 +00:00
|
|
|
|
|
|
|
// packetWasTruncated returns true if err indicates truncation but the RecvFrom
|
|
|
|
// that generated err was otherwise successful. It always returns false on this
|
|
|
|
// platform.
|
|
|
|
func packetWasTruncated(err error) bool { return false }
|