From 1e71122521ec8bdb327d7e739b6870d4ea2c1e54 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Thu, 24 Oct 2024 10:24:20 +0800 Subject: feature: session mananger publish ctrl message; Enhance session debugger module --- include/stellar/packet.h | 2 +- include/stellar/session.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/stellar/packet.h b/include/stellar/packet.h index e910237..2e4b78e 100644 --- a/include/stellar/packet.h +++ b/include/stellar/packet.h @@ -182,7 +182,7 @@ const struct timeval *packet_get_timeval(const struct packet *pkt); const char *packet_get_raw_data(const struct packet *pkt); uint16_t packet_get_raw_len(const struct packet *pkt); -const char *packet_get_payload(const struct packet *pkt); +const char *packet_get_payload_data(const struct packet *pkt); uint16_t packet_get_payload_len(const struct packet *pkt); void packet_set_exdata(struct packet *pkt, int idx, void *ex_ptr); diff --git a/include/stellar/session.h b/include/stellar/session.h index 67c8c98..6e65a8e 100644 --- a/include/stellar/session.h +++ b/include/stellar/session.h @@ -71,8 +71,8 @@ enum session_stat STAT_INJECTED_BYTES_SUCCESS, // control packet - STAT_CONTROL_PACKETS_RECEIVED, // TODO - STAT_CONTROL_BYTES_RECEIVED, // TODO + STAT_CONTROL_PACKETS_RECEIVED, + STAT_CONTROL_BYTES_RECEIVED, STAT_CONTROL_PACKETS_TRANSMITTED, STAT_CONTROL_BYTES_TRANSMITTED, -- cgit v1.2.3