summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp.h
diff options
context:
space:
mode:
authorkais <none@none>2005-11-12 18:58:05 -0800
committerkais <none@none>2005-11-12 18:58:05 -0800
commitc28749e97052f09388969427adf7df641cdcdc22 (patch)
treeb17bd3ede804338c80294e581561c82d63d41f35 /usr/src/uts/common/inet/tcp.h
parenteb907aea8fddc9748490fe3243e8f5fc0e31435f (diff)
downloadillumos-gate-c28749e97052f09388969427adf7df641cdcdc22.tar.gz
PSARC/2005/625 Greyhound - Solaris Kernel SSL proxy
4931229 Kernel-level SSL proxy
Diffstat (limited to 'usr/src/uts/common/inet/tcp.h')
-rw-r--r--usr/src/uts/common/inet/tcp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/tcp.h b/usr/src/uts/common/inet/tcp.h
index fbd594e6e6..1e38314815 100644
--- a/usr/src/uts/common/inet/tcp.h
+++ b/usr/src/uts/common/inet/tcp.h
@@ -40,6 +40,7 @@ extern "C" {
#include <inet/tcp_sack.h>
#include <sys/socket.h>
#include <sys/multidata.h>
+#include <inet/kssl/ksslapi.h>
/*
* Private (and possibly temporary) ioctl used by configuration code
@@ -543,6 +544,13 @@ typedef struct tcp_s {
boolean_t tcp_issocket; /* this is a socket tcp */
uint32_t tcp_squeue_bytes;
+ /*
+ * Kernel SSL session information
+ */
+ boolean_t tcp_kssl_pending; /* waiting for 1st SSL rec. */
+ boolean_t tcp_kssl_inhandshake; /* during SSL handshake */
+ kssl_ent_t tcp_kssl_ent; /* SSL table entry */
+ kssl_ctx_t tcp_kssl_ctx; /* SSL session */
} tcp_t;
extern void tcp_free(tcp_t *tcp);