diff options
| author | Gary Mills <mills@cc.umanitoba.ca> | 2009-10-26 09:11:24 -0700 |
|---|---|---|
| committer | Gary Mills <mills@cc.umanitoba.ca> | 2009-10-26 09:11:24 -0700 |
| commit | e23de8e200dff2773d80ce69c9f2e745b544b9b1 (patch) | |
| tree | dd0795bc7d168dee6055e0efe7c767223a357a99 /usr/src/lib/libinetsvc/common/inetsvc.h | |
| parent | 142762cd061b91f325608e9672ad01087687394d (diff) | |
| download | illumos-joyent-e23de8e200dff2773d80ce69c9f2e745b544b9b1.tar.gz | |
6263835 inetd could use option to set SO_KEEPALIVE
Diffstat (limited to 'usr/src/lib/libinetsvc/common/inetsvc.h')
| -rw-r--r-- | usr/src/lib/libinetsvc/common/inetsvc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/lib/libinetsvc/common/inetsvc.h b/usr/src/lib/libinetsvc/common/inetsvc.h index 181a9d8f81..6a1c6679fc 100644 --- a/usr/src/lib/libinetsvc/common/inetsvc.h +++ b/usr/src/lib/libinetsvc/common/inetsvc.h @@ -19,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _INETSVC_H #define _INETSVC_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <libscf.h> #include <sys/socket.h> #include <libuutil.h> @@ -68,6 +66,7 @@ extern "C" { #define PR_INHERIT_ENV_NAME "inherit_env" #define PR_DO_TCP_WRAPPERS_NAME "tcp_wrappers" #define PR_DO_TCP_TRACE_NAME "tcp_trace" +#define PR_DO_TCP_KEEPALIVE_NAME "tcp_keepalive" #define PR_AUTO_CONVERTED_NAME "converted" #define PR_VERSION_NAME "version" #define PR_SOURCE_LINE_NAME "source_line" @@ -99,6 +98,7 @@ extern "C" { #define PT_DO_TCP_TRACE_INDEX 19 #define PT_DO_TCP_WRAPPERS_INDEX 20 #define PT_CONNECTION_BACKLOG_INDEX 21 +#define PT_DO_TCP_KEEPALIVE_INDEX 22 /* * Names of method properties. @@ -254,6 +254,7 @@ typedef struct { boolean_t do_tcp_wrappers; boolean_t do_tcp_trace; + boolean_t do_tcp_keepalive; /* inherit inetd's environment, or take an empty one */ boolean_t inherit_env; |
