summaryrefslogtreecommitdiff
path: root/extendedstats/unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'extendedstats/unix.go')
-rw-r--r--extendedstats/unix.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/extendedstats/unix.go b/extendedstats/unix.go
index 3db94fc..270a956 100644
--- a/extendedstats/unix.go
+++ b/extendedstats/unix.go
@@ -12,7 +12,7 @@ import (
"golang.org/x/sys/unix"
)
-type ExtendedStats struct {
+type AggregateExtendedStats struct {
MaxPathMtu uint64
MaxSendMss uint64
MaxRecvMss uint64
@@ -27,7 +27,7 @@ func ExtendedStatsAvailable() bool {
return true
}
-func (es *ExtendedStats) IncorporateConnectionStats(basicConn net.Conn) error {
+func (es *AggregateExtendedStats) IncorporateConnectionStats(basicConn net.Conn) error {
if info, err := GetTCPInfo(basicConn); err != nil {
return fmt.Errorf("OOPS: Could not get the TCP info for the connection: %v", err)
} else {
@@ -44,7 +44,7 @@ func (es *ExtendedStats) IncorporateConnectionStats(basicConn net.Conn) error {
return nil
}
-func (es *ExtendedStats) Repr() string {
+func (es *AggregateExtendedStats) Repr() string {
return fmt.Sprintf(`Extended Statistics:
Maximum Path MTU: %v
Maximum Send MSS: %v