Commit Graph

17 Commits

Author SHA1 Message Date
luwenpeng
388144b8c0 Add stat of ip reassembly 2024-04-30 16:19:28 +08:00
luwenpeng
74f0504d3d Update Stellar export header and add stellar_get_current_thread_index() function 2024-04-23 14:38:58 +08:00
luwenpeng
dd32f0f231 Enhancement: Improve error handling in stellar's packet API by checking return values of metadata functions and adding descriptive error logging 2024-04-22 14:23:50 +08:00
luwenpeng
bb7d7410c9 fix spelling mistake 2024-04-21 11:30:41 +08:00
luwenpeng
5508454a1b Optimize packet I/O and timeouts
- Introduce per-thread I/O statistics for packet I/O to reduce performance overhead.
- Implement packet_io_yield() for better thread management during I/O operations.
- Refactor time wheel management:
  - Replace timeouts-based cron tasks with (now_ts - last_ts > timeout) for scheduled tasks.
  - Update the time wheel every 5 ms for improved time management.
2024-04-18 14:37:03 +08:00
luwenpeng
892842c61b bugfix: ip_reassembly_expire busy loop 2024-04-17 18:22:31 +08:00
luwenpeng
17f5d338de Add packet utils to packet.h 2024-04-14 13:14:48 +08:00
luwenpeng
24e109e34f Export tuple.h / packet.h / session.h to the include directory 2024-04-10 15:37:42 +08:00
luwenpeng
a509f0ce3b Update API of manipulation session 2024-04-01 17:15:19 +08:00
luwenpeng
6e422ecb8d Update session timeouts 2024-03-29 16:32:16 +08:00
luwenpeng
5b92d6d8de Add tcp reassembly test case 2024-03-25 17:30:48 +08:00
luwenpeng
5b8d5610a2 rename ip_reassembly args name 'mgr' -> 'assembler' 2024-03-15 09:59:33 +08:00
luwenpeng
ce00122557 Refactor the session manager using session transformation 2D array & Update test case 2024-03-14 18:03:34 +08:00
luwenpeng
512dfddd03 reactor packet I/O & duplicated packet filter & evicted session filter 2024-03-10 19:07:26 +08:00
luwenpeng
734f6a5135 rename config -> options 2024-03-08 14:51:21 +08:00
luwenpeng
c945931620 rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free() 2024-03-08 14:20:36 +08:00
luwenpeng
9d562ffee6 rename ip_reassemble -> ip_reassembly 2024-03-08 13:55:17 +08:00