完善GQUIC1-43版本解析功能

This commit is contained in:
liuxueli
2020-06-01 17:16:23 +08:00
parent d2ad9ab2c4
commit 3f09c62e1c
5 changed files with 292 additions and 219 deletions

View File

@@ -107,12 +107,6 @@ enum _QUIC_VERSION
};
struct _gquic_reset_public_header
{
unsigned char public_flags;
unsigned long long connection_id;
unsigned int tag;
};
//GQIIC Frame type
#define GQUIC_SPECIAL_FRAME_FLAG 0xE0 // Special Frame Types
@@ -243,10 +237,19 @@ struct _gquic_reset_public_header
#define TAG_RSEQ 0x52534551
#define TAG_CADR 0x43414452
struct _gquic_reset_public_header
{
unsigned char public_flags;
unsigned long long connection_id;
unsigned int tag;
};
int quic_process(struct streaminfo *pstream, struct _quic_context* _context, int thread_seq, void* a_packet);
struct _gquic_ack_frame_header
{
unsigned long long largest_acked;
unsigned short largest_acked_delta_time;
unsigned int tag;
};
#endif