luwenpeng
6c9e6e3fbe
support packet_tag_set/get()
2024-11-22 10:41:15 +08:00
luwenpeng
5dbaa67160
add packet_tag.h
2024-11-22 10:19:05 +08:00
luwenpeng
601af3330d
If a packet is marked as dropped, the packet manager will destroy it and its exdata at the end of the current stage, preventing it from entering the next stage.
2024-11-21 11:41:27 +08:00
luwenpeng
b76949b0e4
export symbol session_manager_lookup_session_by_packet/id()
2024-11-19 18:54:04 +08:00
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
a473c2922d
feature: packet manager support build packet
2024-11-18 15:24:38 +08:00
luwenpeng
492a7fb8ea
add packet type raw and pseudo
2024-11-13 14:43:38 +08:00
lijia
e734af76d8
rebase onto develop-2.0
2024-11-07 18:30:58 +08:00
yangwei
99a68d5c9e
🦄 refactor(lpi plus): update api in lpi_plus.h
2024-11-06 16:34:26 +08:00
yangwei
526c110868
🦄 refactor(appid api): remove appid module
2024-11-06 13:53:03 +08:00
yangwei
7f81e46522
🦄 refactor(stellar_module to module): simplify stellar module to module
2024-11-05 10:22:22 +08:00
luwenpeng
021042b752
clean include/stellar/stellar.h, remove unused API
2024-11-01 15:56:29 +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
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
4061d5a942
move stellar/session_manager.h into stellar/session.h
2024-10-25 14:38:51 +08:00
luwenpeng
e2c212fb71
move stellar/packet_manager.h into stellar/packet.h
2024-10-25 13:19:58 +08:00
luwenpeng
1e71122521
feature: session mananger publish ctrl message; Enhance session debugger module
2024-10-23 16:23:36 +08:00
luwenpeng
3d4e6a2cd5
feature: session manager support subscribe session free message
2024-10-23 14:19:37 +08:00
luwenpeng
fd3cc20554
feature: packet IO support IP reassembly
2024-10-21 10:49:41 +08:00
yangwei
a7b79a0e22
✨ feat(module manager): add thread_init and thread_exit API
2024-10-18 16:25:39 +08:00
yangwei
722ae7483b
✨ feat(mq): add mq_runtime_defer, default disable
2024-10-18 14:04:19 +08:00
yangwei
6e7bb30630
🦄 refactor(polling manager): merge polling into module manager
2024-10-18 11:16:42 +08:00
杨威
70d21f28c3
Rebase dev 2.0
2024-10-11 06:08:50 +00:00
luwenpeng
9e954386fd
Refactored packet IO to use packet_manager_schedule_packet() instead of stellar_send_build_packet() to send user-built packets
2024-10-09 11:53:10 +08:00
luwenpeng
0f082d975e
stellar registers packet_manager as a module; session_manager registers polling callback
2024-10-09 10:02:42 +08:00
yangwei
d9d9b4728d
✨ feat(module manager API): add stellar_module_manager_get_logger
2024-09-29 14:23:26 +08:00
yangwei
74f77f3411
✨ feat(polling manager): support polling manager
2024-09-25 18:18:02 +08:00
yangwei
7291db5969
✨ feat(module manager): Define and implement the polling API
2024-09-25 17:44:27 +08:00
luwenpeng
eccd6e102d
bugfix: function name
2024-09-25 12:03:45 +08:00
luwenpeng
b3ddebf770
refactor(main loop): compiled
2024-09-20 18:41:32 +08:00
luwenpeng
94f1913e3e
refactor(session manager): turning the session manager into a stellar module
2024-09-20 17:06:10 +08:00
luwenpeng
60caf1bda1
refactor(packet manager): hide packet manager schema and packet manager runtime
2024-09-20 16:59:19 +08:00
yangwei
6d36a2fc9f
✨ feat(utils.h add count_of): mq clean using count_of
2024-09-19 16:56:52 +08:00
yangwei
7b32a86e66
✨ feat(module manager API): rename api with manager
2024-09-19 16:56:26 +08:00
yangwei
87944eb115
✨ feat(mq): mq_runtime_clean in mq.h
2024-09-19 15:58:39 +08:00
yangwei
ba13baaf34
✨ feat(mod_manager API): add stellar_module_manager_get_toml_path
2024-09-19 15:58:39 +08:00
yangwei
6af61355e3
✨ feat(module manager): module new add ctx as parameter
2024-09-19 15:58:39 +08:00
luwenpeng
721d5d1466
feature(packet manager): support claim packt and add test case
2024-09-18 14:36:31 +08:00
luwenpeng
f559d67b93
test(packet manager): test packets flow between multiple queues
2024-09-18 14:36:31 +08:00
yangwei
19aeb194f3
🧪 test(exdata): add test case
2024-09-14 17:41:23 +08:00
yangwei
5150a03512
🧪 test(module manager): add test case
2024-09-14 16:00:24 +08:00
yangwei
1f55a6f240
✨ feat(module manager): from plugin manager to module manager
2024-09-14 12:18:26 +08:00
yangwei
a23411f453
🧪 test(mq test case): more test case
2024-09-14 10:51:02 +08:00
luwenpeng
06c498409f
feature: add packet_manager API definition
2024-09-13 18:07:40 +08:00
yangwei
e9825c3988
🦄 refactor(stellar api): split exdata and mq
2024-09-10 14:44:38 +08:00
yangwei
6403e832de
✨ feat(stellar_mq subscribe api): replace cb_arg with plugin_id
2024-09-10 09:05:37 +08:00
yangwei
cc542dc365
✨ feat(stellar mq topic api): add dispatch_cb_arg for dispatch_cb
2024-09-06 19:48:29 +08:00
yangwei
442586ef52
✨ feat(plugin register): remove ip_proto in parameter
2024-09-06 19:48:29 +08:00
yangwei
b8b8bc1add
✨ feat(stellar mq): add dispatch_cb per topic
2024-09-05 18:58:17 +08:00