]> git.meshlink.io Git - utcp/blobdiff - utcp_priv.h
Fix congestion window size after a triplicate ACK
[utcp] / utcp_priv.h
index 437941f61b126c49560e0b30f54ad651981d0b94..5ed0344a45fce589963253eafe5ec11bbcdfc937 100644 (file)
@@ -125,11 +125,11 @@ struct utcp_connection {
 
                uint32_t last;
                uint32_t cwnd;
+               uint32_t ssthresh;
        } snd;
 
        struct {
                uint32_t nxt;
-               uint32_t wnd;
                uint32_t irs;
        } rcv;
 
@@ -152,6 +152,7 @@ struct utcp_connection {
 
        bool nodelay;
        bool keepalive;
+       bool shut_wr;
 
        // Congestion avoidance state