[riot-notifications] [RIOT-OS/RIOT] congure_quic: initial import of QUIC congestion control (#15952)

Martine Lenders notifications at github.com
Fri Sep 10 12:15:07 CEST 2021


@miri64 commented on this pull request.



> +    c->in_flight_size += sent_size;
+}
+
+static void _snd_report_msg_discarded(congure_snd_t *cong, unsigned msg_size)
+{
+    congure_quic_snd_t *c = (congure_quic_snd_t *)cong;
+
+    assert(msg_size <= c->in_flight_size);
+
+    _dec_flight_size(c, msg_size);
+}
+
+static void _snd_report_msgs_lost(congure_snd_t *cong, congure_snd_msg_t *msgs)
+{
+    congure_quic_snd_t *c = (congure_quic_snd_t *)cong;
+    /* XXX need to untangle clist_foreach() to record last_lost_sent */

These comments are to prevent the reader from thinking "why isn't `clist_foreach()` used here? It basically copyies its code and add stuff".

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15952#discussion_r706066371
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210910/d2ab5aed/attachment.htm>


More information about the notifications mailing list