diff options
| author | yangwei <[email protected]> | 2023-11-16 12:08:59 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-11-16 12:08:59 +0800 |
| commit | b36d809fb9cc6e1cac5c0565dc07641528b7ede1 (patch) | |
| tree | 87c380846f3330718dbf184bc0bde1fd2d958fdb /include | |
| parent | 7bf14cd9e57f86cf139bb5225abfca080f13a7c4 (diff) | |
✨ feat(update session.h): update get l3 l4 header interface
Diffstat (limited to 'include')
| -rw-r--r-- | include/stellar/session.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stellar/session.h b/include/stellar/session.h index 60c5976..83b1960 100644 --- a/include/stellar/session.h +++ b/include/stellar/session.h @@ -92,8 +92,9 @@ const char *session_get0_readable_addr(struct session *sess); const char *session_get0_current_payload(struct session *sess, size_t *payload_len); /* ------------session------------------*/ -/* |l2|l3|header| payload| */ -const char *session_get0_current_header(struct session *sess); +/* |l2|l3|l4|session payload| */ +const char *session_get0_current_l3_header(struct session *sess); +const char *session_get0_current_l4_header(struct session *sess); const char *session_get0_l2_l3_hdr(struct session *sess, int session_direction, size_t *l2_l3_hdr_len); |
