diff options
| author | luwenpeng <[email protected]> | 2024-11-01 15:37:26 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-01 15:37:26 +0800 |
| commit | f9de6019a8b3459dfee907f1fef64d538801fd89 (patch) | |
| tree | 4eef01a17620ea614cab6e2d39db692572f7dcca /decoders | |
| parent | da9e15264da6e15328c86c78cf672a9425d13e61 (diff) | |
rename session_get0_readable_addr() to session_get_readable_addr()
Diffstat (limited to 'decoders')
| -rw-r--r-- | decoders/session_flags/session_flags.cpp | 2 | ||||
| -rw-r--r-- | decoders/session_flags/session_flags_plugin.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/decoders/session_flags/session_flags.cpp b/decoders/session_flags/session_flags.cpp index 19aa222..3369232 100644 --- a/decoders/session_flags/session_flags.cpp +++ b/decoders/session_flags/session_flags.cpp @@ -598,7 +598,7 @@ static void session_flags_calculate_randomness_by_sts(struct session_flags_plugi stat->result.identify[session_flags_random_looking_mask] = all_pkts; } - STELLAR_LOG_DEBUG(sf_plugin_info->log_handle, SESSION_FLAGS_LOG_MODULE, "[%s] calculate random looking flags, flags:0x%x, pkts_num:%d", session_get0_readable_addr(session), stat->result.random_looking_flags, all_pkts); + STELLAR_LOG_DEBUG(sf_plugin_info->log_handle, SESSION_FLAGS_LOG_MODULE, "[%s] calculate random looking flags, flags:0x%x, pkts_num:%d", session_get_readable_addr(session), stat->result.random_looking_flags, all_pkts); } static void session_flags_calculate_random_looking(struct session_flags_plugin_info *sf_plugin_info, struct session_flags_stat *stat, struct session *session, int topic_id, uint64_t all_pkts) diff --git a/decoders/session_flags/session_flags_plugin.cpp b/decoders/session_flags/session_flags_plugin.cpp index ffd5354..fd562ad 100644 --- a/decoders/session_flags/session_flags_plugin.cpp +++ b/decoders/session_flags/session_flags_plugin.cpp @@ -122,7 +122,7 @@ void session_flags_entry(struct session *session, int topic_id, const void *msg, { session_flags_topic_free_cb(flags_msg, NULL); - STELLAR_LOG_FATAL(sf_plugin_info->log_handle, SESSION_FLAGS_LOG_MODULE, "[%s] publish session flags message failed, flags:0x%x, pkts_num:%d", session_get0_readable_addr(session), flags_result->flags, pkts_num); + STELLAR_LOG_FATAL(sf_plugin_info->log_handle, SESSION_FLAGS_LOG_MODULE, "[%s] publish session flags message failed, flags:0x%x, pkts_num:%d", session_get_readable_addr(session), flags_result->flags, pkts_num); return; } @@ -132,7 +132,7 @@ void session_flags_entry(struct session *session, int topic_id, const void *msg, "[%s] flags:0x%x, pkts_num:%d\n \ c2s_iter: bulky: %f, CBR: %f, download: %f, interactive: %f, pseudo_unidirectional: %f, streaming: %f, CBR_CV: %f\n \ s2c_iter: bulky: %f, CBR: %f, download: %f, interactive: %f, pseudo_unidirectional: %f, streaming: %f, CBR_CV: %f\n \ - iter_cnt: %d, bidirectional: %f\n", session_get0_readable_addr(session), ctx->history_flags, pkts_num, + iter_cnt: %d, bidirectional: %f\n", session_get_readable_addr(session), ctx->history_flags, pkts_num, stat->iter.c2s.bulky, stat->iter.c2s.CBR, stat->iter.c2s.download, stat->iter.c2s.interactive, stat->iter.c2s.pseudo_unidirectional, stat->iter.c2s.streaming, session_flags_calculate_CV(&stat->iter.c2s.omean), stat->iter.s2c.bulky, stat->iter.s2c.CBR, stat->iter.s2c.download, stat->iter.s2c.interactive, stat->iter.s2c.pseudo_unidirectional, stat->iter.s2c.streaming, session_flags_calculate_CV(&stat->iter.s2c.omean), stat->iter.iter_cnt, stat->iter.bidirectional); |
