diff options
| author | Will Hawkins <[email protected]> | 2022-06-05 03:32:17 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-06-05 03:32:17 -0400 |
| commit | d06438ff7414abfcc5a2a1bd13a935ee594f0842 (patch) | |
| tree | 52517463088faaf2ad85ffddb7e45860384b08ac /utilities/tcpinfo_other.go | |
| parent | 9be87fa5ec89c9e393c9c93b3cb36668c71593d6 (diff) | |
[Feature] Add -extended-stats for *nix platforms
On *nix platforms, there is now a `-extended-stats` option that will
print out some extended statistics for the test. The statistics are
based on information gleaned from the `TCP_INFO` of the underlying TCP
connections. What is implemented so far is just a proof of concept of
the extended stats that could be calculated. Depending on what users
want, we can add additional extended statistics.
Diffstat (limited to 'utilities/tcpinfo_other.go')
| -rw-r--r-- | utilities/tcpinfo_other.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/utilities/tcpinfo_other.go b/utilities/tcpinfo_other.go deleted file mode 100644 index 8dd070b..0000000 --- a/utilities/tcpinfo_other.go +++ /dev/null @@ -1,18 +0,0 @@ -//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd -// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd - -package utilities - -import ( - "net" - - "golang.org/x/sys/unix" -) - -func GetTCPInfo(connection net.Conn) (*unix.TCPInfo, error) { - return nil, NotImplemented{Functionality: "GetTCPInfo"} -} - -func PrintTCPInfo(info *unix.TCPInfo) { - return -} |
