summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux
diff options
context:
space:
mode:
authorNayana Bidari <nybidari@google.com>2020-06-10 13:36:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-10 13:37:27 -0700
commit4b9652d63b319414e764696f1b77ee39cd36d96d (patch)
tree705c45a35422a221c199a23bbb3eaaac864c8d7b /pkg/abi/linux
parenta5a4f804879f8d1b5e6de6005aef6d3e14e7dca2 (diff)
{S,G}etsockopt for TCP_KEEPCNT option.
TCP_KEEPCNT is used to set the maximum keepalive probes to be sent before dropping the connection. WANT_LGTM=jchacon PiperOrigin-RevId: 315758094
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r--pkg/abi/linux/tcp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/abi/linux/tcp.go b/pkg/abi/linux/tcp.go
index 174d470e2..2a8d4708b 100644
--- a/pkg/abi/linux/tcp.go
+++ b/pkg/abi/linux/tcp.go
@@ -57,4 +57,5 @@ const (
const (
MAX_TCP_KEEPIDLE = 32767
MAX_TCP_KEEPINTVL = 32767
+ MAX_TCP_KEEPCNT = 127
)