diff options
| author | Will Hawkins <[email protected]> | 2022-08-17 22:07:35 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-08-17 22:07:35 -0400 |
| commit | 18bcc4fe73bd8245cde001c939b400693a0d9410 (patch) | |
| tree | 1d38cdb6271153d0bc1ba4ddfc3218722b12ccf7 /extendedstats/other.go | |
| parent | 8d7b3f43988f40976c540e64f955fabe3d14d755 (diff) | |
[Feature] Add TCP information (RTT and Cwnd) to Logging
This patch adds support for logging the underlying RTT and Cwnd of the
TCP connection used when doing probes. More work to follow in order to
add support for this information on Windows and Darwin.
Diffstat (limited to 'extendedstats/other.go')
| -rw-r--r-- | extendedstats/other.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extendedstats/other.go b/extendedstats/other.go index b4eae18..50caef6 100644 --- a/extendedstats/other.go +++ b/extendedstats/other.go @@ -11,7 +11,7 @@ import ( type ExtendedStats struct{} func (es *ExtendedStats) IncorporateConnectionStats(conn net.Conn) error { - return fmt.Errorf("OOPS: IncorporateConnectionStats is not supported on this platform") + return fmt.Errorf("IncorporateConnectionStats is not supported on this platform") } func (es *ExtendedStats) Repr() string { @@ -21,3 +21,7 @@ func (es *ExtendedStats) Repr() string { func ExtendedStatsAvailable() bool { return false } + +func GetTCPInfo(basicConn net.Conn) (interface, error) { + return nil, fmt.Errorf("GetTCPInfo is not supported on this platform") +} |
