test/unittests/test_stream.c
/* This does not do anything beyond just acking the packet: we do not attempt
 * to update the send controller to have the correct state.
 */
This does not do anything beyond just acking the packet: we do not attempt
to update the send controller to have the correct state.
This does not do anything beyond just acking the packet : we do not attempt to update the send controller to have the correct state .
static void
ack_packet (lsquic_send_ctl_t *send_ctl, lsquic_packno_t packno)
{
    struct lsquic_packet_out *packet_out;
    TAILQ_FOREACH(packet_out, &send_ctl->sc_unacked_packets[PNS_APP], po_next)
        if (packet_out->po_packno == packno)
        {
            lsquic_packet_out_ack_streams(packet_out);
            return;
        }
    assert(0);
}
static void ack_packet ( lsquic_send_ctl_t * send_ctl , lsquic_packno_t packno ) { struct lsquic_packet_out * packet_out ; TAILQ_FOREACH ( packet_out , & send_ctl -> sc_unacked_packets [ PNS_APP ] , po_next ) if ( packet_out -> po_packno == packno ) { lsquic_packet_out_ack_streams ( packet_out ) ; return ; } assert ( 0 ) ; }
This does not do anything beyond just acking the packet: we do not attempt
 to update the send controller to have the correct state.
This does not do anything beyond just acking the packet : we do not attempt to update the send controller to have the correct state .