picoquic/frames.c
int picoquic_queue_retire_connection_id_frame(picoquic_cnx_t * cnx, uint64_t sequence)
{
    int ret = 0;
    size_t consumed = 0;
    uint8_t frame_buffer[258];
    int is_pure_ack = 1;
    int more_data = 0;
    uint8_t * bytes_next = picoquic_format_retire_connection_id_frame(frame_buffer, frame_buffer + sizeof(frame_buffer), &more_data, &is_pure_ack, sequence);
    
    if ((consumed = bytes_next - frame_buffer) > 0) {
        ret = picoquic_queue_misc_frame(cnx, frame_buffer, consumed, is_pure_ack);
    }

    return ret;
}
/*
 * Queue a retire connection id frame when a probe or a path is abandoned.
 */
Queue a retire connection id frame when a probe or a path is abandoned.
Queue a retire connection id frame when a probe or a path is abandoned .
int picoquic_queue_retire_connection_id_frame(picoquic_cnx_t * cnx, uint64_t sequence)
{
    int ret = 0;
    size_t consumed = 0;
    uint8_t frame_buffer[258];
    int is_pure_ack = 1;
    int more_data = 0;
    uint8_t * bytes_next = picoquic_format_retire_connection_id_frame(frame_buffer, frame_buffer + sizeof(frame_buffer), &more_data, &is_pure_ack, sequence);
    if ((consumed = bytes_next - frame_buffer) > 0) {
        ret = picoquic_queue_misc_frame(cnx, frame_buffer, consumed, is_pure_ack);
    }
    return ret;
}
int picoquic_queue_retire_connection_id_frame ( picoquic_cnx_t * cnx , uint64_t sequence ) { int ret = 0 ; size_t consumed = 0 ; uint8_t frame_buffer [ 258 ] ; int is_pure_ack = 1 ; int more_data = 0 ; uint8_t * bytes_next = picoquic_format_retire_connection_id_frame ( frame_buffer , frame_buffer + sizeof ( frame_buffer ) , & more_data , & is_pure_ack , sequence ) ; if ( ( consumed = bytes_next - frame_buffer ) > 0 ) { ret = picoquic_queue_misc_frame ( cnx , frame_buffer , consumed , is_pure_ack ) ; } return ret ; }
Queue a retire connection id frame when a probe or a path is abandoned.
Queue a retire connection id frame when a probe or a path is abandoned .