return 1;
}
-static void ackm_queue_probe_handshake(OSSL_ACKM *ackm)
+static void ackm_queue_probe_anti_deadlock_handshake(OSSL_ACKM *ackm)
{
- ++ackm->pending_probe.handshake;
+ ++ackm->pending_probe.anti_deadlock_handshake;
}
-static void ackm_queue_probe_padded_initial(OSSL_ACKM *ackm)
+static void ackm_queue_probe_anti_deadlock_initial(OSSL_ACKM *ackm)
{
- ++ackm->pending_probe.padded_initial;
+ ++ackm->pending_probe.anti_deadlock_initial;
}
static void ackm_queue_probe(OSSL_ACKM *ackm, int pkt_space)
{
+ /*
+ * TODO(QUIC): We are allowed to send either one or two probe packets here.
+ * Determine a strategy for when we should send two probe packets.
+ */
++ackm->pending_probe.pto[pkt_space];
}
* ownership.
*/
if (ackm->discarded[QUIC_PN_SPACE_INITIAL])
- ackm_queue_probe_handshake(ackm);
+ ackm_queue_probe_anti_deadlock_handshake(ackm);
else
- ackm_queue_probe_padded_initial(ackm);
+ ackm_queue_probe_anti_deadlock_initial(ackm);
} else {
/*
* PTO. The user of the ACKM should send new data if available, else