aboutsummaryrefslogtreecommitdiffstats
path: root/lib/keepalive_dummy.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keepalive_dummy.go')
-rw-r--r--lib/keepalive_dummy.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/keepalive_dummy.go b/lib/keepalive_dummy.go
new file mode 100644
index 00000000..205b577b
--- /dev/null
+++ b/lib/keepalive_dummy.go
@@ -0,0 +1,11 @@
+//+build !linux
+
+package lib
+
+func SetTcpKeepaliveProbes(fd, count int) error {
+ return nil
+}
+
+func SetTcpKeepaliveInterval(fd, interval int) error {
+ return nil
+}