summaryrefslogtreecommitdiffhomepage
path: root/net/udprelay/server_notlinux.go
blob: 027ffb7658aa22de5bed0061f54a33fbb92c0dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause

//go:build !linux

package udprelay

import (
	"net"
	"syscall"
)

func trySetReusePort(_ string, _ string, _ syscall.RawConn) {}

func isReusableSocket(*net.UDPConn) bool {
	return false
}