diff options
author | Kacheong Poon <Kacheong.Poon@Sun.COM> | 2009-12-10 20:51:16 -0800 |
---|---|---|
committer | Kacheong Poon <Kacheong.Poon@Sun.COM> | 2009-12-10 20:51:16 -0800 |
commit | 93fcb0b9b3e0792a42d10584632c1c566f89d64a (patch) | |
tree | facbe4e864b03573a09532206ff56aaf2d20618c /usr/src/uts/common/inet/tcp.h | |
parent | e0ab0eca1a1f461b67482b50176e92440d1a08b4 (diff) | |
download | illumos-gate-93fcb0b9b3e0792a42d10584632c1c566f89d64a.tar.gz |
6759500 [CVE-2008-4609] FICORA #193744 TCP vulnerabilities
6905405 interactive performance on rlogin / telnet connections to localhost extremly bad
Diffstat (limited to 'usr/src/uts/common/inet/tcp.h')
-rw-r--r-- | usr/src/uts/common/inet/tcp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/tcp.h b/usr/src/uts/common/inet/tcp.h index 321d0756fc..bf7dbf85f6 100644 --- a/usr/src/uts/common/inet/tcp.h +++ b/usr/src/uts/common/inet/tcp.h @@ -132,6 +132,7 @@ typedef struct tcphdra_s { } tcpha_t; struct conn_s; +struct tcp_listen_cnt_s; /* * Control structure for each open TCP stream, @@ -248,7 +249,7 @@ typedef struct tcp_s { tcp_tconnind_started : 1, /* conn_ind message is being sent */ tcp_lso :1, /* Lower layer is capable of LSO */ - tcp_is_wnd_shrnk : 1, /* Window has shrunk */ + tcp_is_wnd_shrnk : 1, /* Window has shrunk */ tcp_pad_to_bit_31 : 18; @@ -472,6 +473,12 @@ typedef struct tcp_s { /* Mutex for accessing tcp_rsrv_mp */ kmutex_t tcp_rsrv_mp_lock; + /* For connection counting. */ + struct tcp_listen_cnt_s *tcp_listen_cnt; + + /* Segment reassembly timer. */ + timeout_id_t tcp_reass_tid; + #ifdef DEBUG pc_t tcmp_stk[15]; #endif @@ -484,6 +491,7 @@ typedef struct tcp_s { #define TCP_DEBUG_GETPCSTACK(buffer, depth) #endif +extern void tcp_conn_reclaim(void *); extern void tcp_free(tcp_t *tcp); extern void tcp_ddi_g_init(void); extern void tcp_ddi_g_destroy(void); |