TSG-7298: QUIC解析层支持解析quic-ietf加密SNI

This commit is contained in:
刘学利
2021-08-23 11:15:11 +00:00
parent 13ba53b5a9
commit f68700112e
30 changed files with 1870 additions and 273 deletions

24
src/parser-quic.h Normal file
View File

@@ -0,0 +1,24 @@
/**
* parser-quic.h
*
* Created on 2020-11-26
* @author: qyc
*
*
*/
#ifndef PARSER_QUIC_H
#define PARSER_QUIC_H
#ifdef __cplusplus
extern "C" {
#endif
/*ret: 1 sucess*/
int dissect_quic(const char *payload, unsigned int length, unsigned char *out, unsigned int *out_length);
int gcry_init();
#ifdef __cplusplus
}
#endif
#endif //PARSER_QUIC_H