summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/netinet
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@nexenta.com>2011-08-17 16:31:10 -0700
committerGarrett D'Amore <garrett@nexenta.com>2011-08-17 16:31:10 -0700
commit3d0a255c417cf2e7b69e770de43f195b0eeffacb (patch)
tree9fbbacfdcae24cab7914edc9825da1708191153b /usr/src/uts/common/netinet
parent49ba5bc4e7d0a3e56108ec7cbf1d8cf2483ccca9 (diff)
downloadillumos-joyent-3d0a255c417cf2e7b69e770de43f195b0eeffacb.tar.gz
1361 Add support for socket options TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL
Reviewed by: Pavan <pavan.tc@gmail.com> Reviewed by: Dan McDonald <danmcd at nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/uts/common/netinet')
-rw-r--r--usr/src/uts/common/netinet/tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/netinet/tcp.h b/usr/src/uts/common/netinet/tcp.h
index 9a08545ab7..f6c2fc160b 100644
--- a/usr/src/uts/common/netinet/tcp.h
+++ b/usr/src/uts/common/netinet/tcp.h
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
@@ -125,6 +126,9 @@ struct tcphdr {
/* gap for expansion of ``standard'' options */
#define TCP_ANONPRIVBIND 0x20 /* for internal use only */
#define TCP_EXCLBIND 0x21 /* for internal use only */
+#define TCP_KEEPIDLE 0x22
+#define TCP_KEEPCNT 0x23
+#define TCP_KEEPINTVL 0x24
#ifdef __cplusplus
}