Commit Graph

18 Commits

Author SHA1 Message Date
luwenpeng
28f50b922b refactor: IP reassembly and rename stat name 2024-08-19 16:15:08 +08:00
luwenpeng
b0e08133b7 enhance: add configuration items to adjust the scheduling parameters of the main loop 2024-08-15 19:04:11 +08:00
luwenpeng
48202b4d0a config: adjust the number of maz entries per bucket for IP reassembly 2024-07-30 19:17:29 +08:00
luwenpeng
71422ebb36 refactor: packet module (split to parse/build/layer/tunnel/utils) 2024-06-24 17:07:05 +08:00
luwenpeng
48428e52fe replace 'ifndef define' to 'pragam once' 2024-06-19 15:06:14 +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
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
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
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