mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 11:35:35 +00:00
26 lines
480 B
Go
26 lines
480 B
Go
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
//go:build !linux
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"io"
|
||
|
"net"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func getConnKernelTimestamp() (io.ReadWriteCloser, error) {
|
||
|
return nil, errors.New("unimplemented")
|
||
|
}
|
||
|
|
||
|
func measureRTTKernel(conn io.ReadWriteCloser, dst *net.UDPAddr, req []byte) (resp []byte, rtt time.Duration, err error) {
|
||
|
return nil, 0, errors.New("unimplemented")
|
||
|
}
|
||
|
|
||
|
func supportsKernelTS() bool {
|
||
|
return false
|
||
|
}
|