ceremonyclient/go-libp2p/p2p/transport/tcp/metrics_general.go
Cassie Heart ebb31fd792 v1.4.19
2024-06-08 11:32:45 +00:00

16 lines
424 B
Go

//go:build !linux && !darwin && !windows && !riscv64 && !loong64
package tcp
import "github.com/mikioh/tcpinfo"
const (
hasSegmentCounter = false
hasByteCounter = false
)
func getSegmentsSent(info *tcpinfo.Info) uint64 { return 0 }
func getSegmentsRcvd(info *tcpinfo.Info) uint64 { return 0 }
func getBytesSent(info *tcpinfo.Info) uint64 { return 0 }
func getBytesRcvd(info *tcpinfo.Info) uint64 { return 0 }