Commit Graph

12 Commits

Author SHA1 Message Date
luwenpeng
c2e9275a9e remove session_manager_subscribe_xxx() API; convert session closing events to pseudo packets
when a session is closed, use the packet manager to create a pseudo packet,
    set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage.
    when the pseudo packet free, the session will be free.
2024-11-19 18:28:40 +08:00
luwenpeng
492a7fb8ea add packet type raw and pseudo 2024-11-13 14:43:38 +08:00
luwenpeng
f9de6019a8 rename session_get0_readable_addr() to session_get_readable_addr() 2024-11-01 15:37:26 +08:00
luwenpeng
da9e15264d rename session_get0_current_packet() to session_get_current_packet() 2024-11-01 15:36:18 +08:00
luwenpeng
d56cda3d9a session manager support output fieldstat 2024-11-01 15:24:22 +08:00
luwenpeng
03864c9731 Add state to the on_session_message parameter.
* When state is closed, it implies that packet is null and the session will be destroyed
2024-10-25 19:15:45 +08:00
luwenpeng
fd3cc20554 feature: packet IO support IP reassembly 2024-10-21 10:49:41 +08:00
luwenpeng
94f1913e3e refactor(session manager): turning the session manager into a stellar module 2024-09-20 17:06:10 +08:00
luwenpeng
620019cf8e refactor(session manager): rename original session_manager to session_manager_runtime 2024-09-20 16:59:19 +08:00
luwenpeng
46307bb271 rename session_private.h to session_internal.h 2024-09-20 16:59:19 +08:00
luwenpeng
a8206cffc0 rename flow_direction to flow_type 2024-09-02 17:49:33 +08:00
luwenpeng
18827c6de9 refactor(infra/session_manager): from *.cpp to *.c 2024-08-28 18:00:37 +08:00