summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-10-24 10:24:20 +0800
committerluwenpeng <[email protected]>2024-10-23 16:23:36 +0800
commit1e71122521ec8bdb327d7e739b6870d4ea2c1e54 (patch)
tree057d551e7b2440047dee0e3915d052a12715b59a /include
parent5c5a50929b54483480b058a27683fd37fedf11d0 (diff)
feature: session mananger publish ctrl message; Enhance session debugger module
Diffstat (limited to 'include')
-rw-r--r--include/stellar/packet.h2
-rw-r--r--include/stellar/session.h4
2 files changed, 3 insertions, 3 deletions
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,