export symbol session_manager_lookup_session_by_packet/id()

This commit is contained in:
luwenpeng
2024-11-19 18:35:40 +08:00
parent c2e9275a9e
commit b76949b0e4
3 changed files with 32 additions and 2 deletions

View File

@@ -150,6 +150,8 @@ void *session_get_exdata(const struct session *sess, int idx);
struct session_manager;
struct session_manager *module_to_session_manager(struct module *mod);
int session_manager_new_session_exdata_index(struct session_manager *sess_mgr, const char *name, exdata_free *func, void *arg);
struct session *session_manager_lookup_session_by_packet(struct session_manager *sess_mgr, uint16_t thread_id, const struct packet *pkt);
struct session *session_manager_lookup_session_by_id(struct session_manager *sess_mgr, uint16_t thread_id, uint64_t sess_id);
struct session *packet_exdata_to_session(struct packet *pkt);