2023-02-03 20:07:58 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2023-04-12 22:50:52 +00:00
|
|
|
//go:build !tailscale_go || !(darwin || ios || android || ts_enable_sockstats)
|
2023-02-03 20:07:58 +00:00
|
|
|
|
|
|
|
package sockstats
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2023-04-13 01:23:22 +00:00
|
|
|
|
|
|
|
"tailscale.com/types/logger"
|
2023-02-03 20:07:58 +00:00
|
|
|
)
|
|
|
|
|
2023-03-08 00:22:23 +00:00
|
|
|
const IsAvailable = false
|
|
|
|
|
2023-04-13 01:23:22 +00:00
|
|
|
func withSockStats(ctx context.Context, label Label, logf logger.Logf) context.Context {
|
2023-02-03 20:07:58 +00:00
|
|
|
return ctx
|
|
|
|
}
|
|
|
|
|
|
|
|
func get() *SockStats {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-14 20:34:04 +00:00
|
|
|
func getInterfaces() *InterfaceSockStats {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-09 19:40:07 +00:00
|
|
|
func getValidation() *ValidationSockStats {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-03 16:37:14 +00:00
|
|
|
func setLinkMonitor(lm LinkMonitor) {
|
2023-02-03 20:07:58 +00:00
|
|
|
}
|