TSG-8364: 重构代码,只解QUIC链接的第一个数据包
This commit is contained in:
24
src/quic_deprotection.h
Normal file
24
src/quic_deprotection.h
Normal 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 quic_deprotection(const char *payload, unsigned int length, unsigned char *out, unsigned int *out_length);
|
||||
|
||||
int gcry_init();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //PARSER_QUIC_H
|
||||
Reference in New Issue
Block a user