picoquic/frames.c
uint8_t * picoquic_format_retire_connection_id_frame(uint8_t* bytes, uint8_t* bytes_max, int * more_data, int * is_pure_ack, uint64_t sequence)
{
    uint8_t * bytes0 = bytes;

    if ((bytes = picoquic_frames_uint8_encode(bytes, bytes_max, picoquic_frame_type_retire_connection_id)) == NULL ||
        (bytes = picoquic_frames_varint_encode(bytes, bytes_max, sequence)) == NULL){
        bytes = bytes0;
        *more_data = 1;
    }
    else {
        *is_pure_ack = 0;
    }

    return bytes;
}
/*
 * Format a retire connection ID frame.
 */
Format a retire connection ID frame.
Format a retire connection ID frame .
uint8_t * picoquic_format_retire_connection_id_frame(uint8_t* bytes, uint8_t* bytes_max, int * more_data, int * is_pure_ack, uint64_t sequence)
{
    uint8_t * bytes0 = bytes;
    if ((bytes = picoquic_frames_uint8_encode(bytes, bytes_max, picoquic_frame_type_retire_connection_id)) == NULL ||
        (bytes = picoquic_frames_varint_encode(bytes, bytes_max, sequence)) == NULL){
        bytes = bytes0;
        *more_data = 1;
    }
    else {
        *is_pure_ack = 0;
    }
    return bytes;
}
uint8_t * picoquic_format_retire_connection_id_frame ( uint8_t * bytes , uint8_t * bytes_max , int * more_data , int * is_pure_ack , uint64_t sequence ) { uint8_t * bytes0 = bytes ; if ( ( bytes = picoquic_frames_uint8_encode ( bytes , bytes_max , picoquic_frame_type_retire_connection_id ) ) == NULL || ( bytes = picoquic_frames_varint_encode ( bytes , bytes_max , sequence ) ) == NULL ) { bytes = bytes0 ; * more_data = 1 ; } else { * is_pure_ack = 0 ; } return bytes ; }
Format a retire connection ID frame.
Format a retire connection ID frame .