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