summaryrefslogtreecommitdiff
path: root/platform/src
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-04-26 17:37:54 +0800
committerluwenpeng <[email protected]>2024-04-29 17:41:15 +0800
commita56f93982aa194df8a014ba77afd3f9b90148ac0 (patch)
tree95412ca4be880f60ab5ed7b6fa2e39b4b9963e51 /platform/src
parent3385cbaf72988a64231f4a55a26124860afd89c7 (diff)
SCE适配marsio_dp_trace_measurements_can_emit()的变更v1.2.15-20240429
Diffstat (limited to 'platform/src')
-rw-r--r--platform/src/packet_io.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/src/packet_io.cpp b/platform/src/packet_io.cpp
index 2dc2f3f..2cd58d7 100644
--- a/platform/src/packet_io.cpp
+++ b/platform/src/packet_io.cpp
@@ -694,6 +694,7 @@ static void action_sf_chaining(struct thread_ctx *thread_ctx, struct session_ctx
(meta->is_decrypted ? "decrypted" : "raw"), (meta->direction ? "E2I" : "I2E"), forward_type_tostring(sf->sff_forward_type), action_desc_tostring(sf->sf_action_desc));
PACKET_TRACE_ON_CHAIN(thread_ctx->ref_io->instance, rx_buff, sf, meta);
+ PACKET_TELEMETRY_ON_CHAIN(thread_ctx->ref_io->instance, rx_buff, sf, meta);
switch (sf->sf_action)
{
case SESSION_ACTION_BYPASS:
@@ -1192,6 +1193,7 @@ static void handle_data_packet(marsio_buff_t *rx_buff, struct thread_ctx *thread
THROUGHPUT_METRICS_INC(&(thread_metrics->raw_rx), 1, meta.raw_len);
}
PACKET_TRACE_ON_POLICY(thread_ctx->ref_io->instance, rx_buff, &session_ctx->rule_ids, chaining);
+ PACKET_TELEMETRY_ON_POLICY(thread_ctx->ref_io->instance, rx_buff, &session_ctx->rule_ids, chaining);
action_sf_chaining(thread_ctx, session_ctx, chaining, rx_buff, &meta, 0);
return;