summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-04-26 22:20:46 +0800
committerlijia <[email protected]>2024-04-27 03:17:24 +0800
commit16a633839f9917d26fe229ddaa887fe10b57deac (patch)
treed79f5f927de4b5e438d5d64d62eedd0d940db752 /include
parentd3b9ca69662e8258fd91883f1788e60de6efe48c (diff)
TSG-16297: adapts SSL protocol detain and forward overlong client hello cross over 2 packets.v4.3.49
Diffstat (limited to 'include')
-rw-r--r--include/public/stream_inc/stream_rawpkt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/public/stream_inc/stream_rawpkt.h b/include/public/stream_inc/stream_rawpkt.h
index 26ddbb8..fb148b8 100644
--- a/include/public/stream_inc/stream_rawpkt.h
+++ b/include/public/stream_inc/stream_rawpkt.h
@@ -120,6 +120,8 @@ const void *get_rawpkt_by_stream_dir(const struct streaminfo *pstream, int strea
struct detain_pkt;
struct detain_pkt* MESA_rawpkt_detain(const struct streaminfo *pstream, const void *rawpkt);
int MESA_detain_pkt_forward(struct detain_pkt *pkt);
+/* The underlayer private data in stream will overwrite in detain packet */
+int MESA_detain_pkt_forward_based_on_stream(const struct streaminfo *pstream, struct detain_pkt *dpkt);
void MESA_detain_pkt_free(struct detain_pkt *pkt);
#ifdef __cplusplus