diff options
author | Garrett D'Amore <garrett@nexenta.com> | 2011-08-17 16:31:10 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@nexenta.com> | 2011-08-17 16:31:10 -0700 |
commit | 3d0a255c417cf2e7b69e770de43f195b0eeffacb (patch) | |
tree | 9fbbacfdcae24cab7914edc9825da1708191153b /usr/src/uts/common/netinet/tcp.h | |
parent | 49ba5bc4e7d0a3e56108ec7cbf1d8cf2483ccca9 (diff) | |
download | illumos-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/tcp.h')
-rw-r--r-- | usr/src/uts/common/netinet/tcp.h | 4 |
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 } |