Removed the ambiguous session_get0_current_payload() API. It is unclear whether the original packet payload or TCP reassembled payload is obtained.

It is recommended to:
* Use packet_get_payload() to obtain the original packet payload
* Use tcp_segment_get_data() to obtain the reassembled data
This commit is contained in:
luwenpeng
2024-08-01 15:14:47 +08:00
parent 776090331e
commit 12975e2da7
9 changed files with 40 additions and 21 deletions

View File

@@ -18,6 +18,9 @@ global:
craft_udp_packet;
craft_packet_from_scratch;
tcp_segment_get_data;
tcp_segment_get_len;
session_exdata_free;
stellar_session_exdata_new_index;
session_exdata_set;
@@ -37,7 +40,6 @@ global:
session_get_type;
session_get_current_state;
session_get0_current_packet;
session_get0_current_payload;
session_get_closing_reason;
session_get_direction;
session_get_current_flow_direction;