X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=utcp_priv.h;h=de942a8968ae61ef27592126244ad935dcfe5475;hb=1cd490633b3975e51163a96eadfa9b7490dc93a0;hp=6c5c1f85f052016999b800534e398a21884eec17;hpb=fad2787f2394bad3cf105ca5b4cf411db6d34aa6;p=utcp diff --git a/utcp_priv.h b/utcp_priv.h index 6c5c1f8..de942a8 100644 --- a/utcp_priv.h +++ b/utcp_priv.h @@ -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; @@ -171,7 +171,8 @@ struct utcp { // Global socket options - uint16_t mtu; + uint16_t mtu; // The maximum size of a UTCP packet, including headers. + uint16_t mss; // The maximum size of the payload of a UTCP packet. int timeout; // sec // RTT variables