diff options
author | Philip Kirk <Phil.Kirk@Sun.COM> | 2009-06-15 05:57:03 -0400 |
---|---|---|
committer | Philip Kirk <Phil.Kirk@Sun.COM> | 2009-06-15 05:57:03 -0400 |
commit | 410734d49da2a410ec87758533a8f01c75aa0bd8 (patch) | |
tree | c7d458af0dc4054b456e3dd858a9df02e35218c8 /usr/src/uts/common/inet/tcp.h | |
parent | 4bc40f6908f439ff427ce56daad14366e8a63f7c (diff) | |
download | illumos-joyent-410734d49da2a410ec87758533a8f01c75aa0bd8.tar.gz |
6485039 TCP needs to perform shrunk window functionality robustly.
Diffstat (limited to 'usr/src/uts/common/inet/tcp.h')
-rw-r--r-- | usr/src/uts/common/inet/tcp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/tcp.h b/usr/src/uts/common/inet/tcp.h index 1d10a8cbfa..74ffce34f4 100644 --- a/usr/src/uts/common/inet/tcp.h +++ b/usr/src/uts/common/inet/tcp.h @@ -292,7 +292,8 @@ typedef struct tcp_s { tcp_tconnind_started : 1, /* conn_ind message is being sent */ tcp_lso :1, /* Lower layer is capable of LSO */ tcp_refuse :1, /* Connection needs refusing */ - tcp_pad_to_bit_31 : 16; + tcp_is_wnd_shrnk : 1, /* Window has shrunk */ + tcp_pad_to_bit_31 : 15; uint32_t tcp_if_mtu; /* Outgoing interface MTU. */ @@ -602,6 +603,11 @@ typedef struct tcp_s { boolean_t tcp_flow_stopped; /* + * Sender's next sequence number at the time the window was shrunk. + */ + uint32_t tcp_snxt_shrunk; + + /* * The socket generation number is bumped when an outgoing connection * attempts is made, and it sent up to the socket when the * connection was successfully established, or an error occured. The |