summaryrefslogtreecommitdiff
path: root/utilities/tcpinfo_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/tcpinfo_other.go')
-rw-r--r--utilities/tcpinfo_other.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/utilities/tcpinfo_other.go b/utilities/tcpinfo_other.go
new file mode 100644
index 0000000..8dd070b
--- /dev/null
+++ b/utilities/tcpinfo_other.go
@@ -0,0 +1,18 @@
+//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
+}