mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Drop a defunct parsing method
This commit is contained in:
parent
1cd65f769f
commit
bdf79b05b0
4 changed files with 0 additions and 17 deletions
|
@ -85,8 +85,6 @@ struct parse_funcs
|
|||
(*pf_gen_stream_frame) (unsigned char *buf, size_t bufsz,
|
||||
uint32_t stream_id, uint64_t offset,
|
||||
int fin, size_t size, gsf_read_f, void *stream);
|
||||
unsigned
|
||||
(*pf_parse_stream_frame_header_sz) (unsigned char type);
|
||||
int
|
||||
(*pf_parse_stream_frame) (const unsigned char *buf, size_t rem_packet_sz,
|
||||
struct stream_frame *);
|
||||
|
@ -175,9 +173,6 @@ parse_packet_in_begin (struct lsquic_packet_in *, size_t length,
|
|||
enum QUIC_FRAME_TYPE
|
||||
parse_frame_type_gquic_Q035_thru_Q039 (unsigned char first_byte);
|
||||
|
||||
unsigned
|
||||
parse_stream_frame_header_sz_gquic (unsigned char type);
|
||||
|
||||
size_t
|
||||
calc_stream_frame_header_sz_gquic (uint32_t stream_id, uint64_t offset);
|
||||
|
||||
|
|
|
@ -960,7 +960,6 @@ const struct parse_funcs lsquic_parse_funcs_gquic_Q039 =
|
|||
.pf_parse_packet_in_finish = gquic_be_parse_packet_in_finish,
|
||||
.pf_gen_stream_frame = gquic_be_gen_stream_frame,
|
||||
.pf_calc_stream_frame_header_sz = calc_stream_frame_header_sz_gquic,
|
||||
.pf_parse_stream_frame_header_sz = parse_stream_frame_header_sz_gquic,
|
||||
.pf_parse_stream_frame = gquic_be_parse_stream_frame,
|
||||
.pf_parse_ack_frame = gquic_be_parse_ack_frame,
|
||||
.pf_gen_ack_frame = gquic_be_gen_ack_frame,
|
||||
|
|
|
@ -401,16 +401,6 @@ parse_frame_type_gquic_Q035_thru_Q039 (unsigned char b)
|
|||
}
|
||||
|
||||
|
||||
unsigned
|
||||
parse_stream_frame_header_sz_gquic (unsigned char type)
|
||||
{
|
||||
const unsigned data_len = (type >> 4) & 2;
|
||||
const unsigned offset_len = ((type >> 2) & 7) + 1 - !((type >> 2) & 7);
|
||||
const unsigned stream_id_len = 1 + (type & 3);
|
||||
return 1 + data_len + offset_len + stream_id_len;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
lsquic_turn_on_fin_Q035_thru_Q039 (unsigned char *stream_header)
|
||||
{
|
||||
|
|
|
@ -837,7 +837,6 @@ const struct parse_funcs lsquic_parse_funcs_gquic_le =
|
|||
.pf_parse_packet_in_finish = gquic_le_parse_packet_in_finish,
|
||||
.pf_gen_stream_frame = gquic_le_gen_stream_frame,
|
||||
.pf_calc_stream_frame_header_sz = calc_stream_frame_header_sz_gquic,
|
||||
.pf_parse_stream_frame_header_sz = parse_stream_frame_header_sz_gquic,
|
||||
.pf_parse_stream_frame = gquic_le_parse_stream_frame,
|
||||
.pf_parse_ack_frame = gquic_le_parse_ack_frame,
|
||||
.pf_gen_ack_frame = gquic_le_gen_ack_frame,
|
||||
|
|
Loading…
Reference in a new issue