luwenpeng
01958b56c5
rename layer_type to layer_proto
2024-06-12 18:21:45 +08:00
luwenpeng
54385ed08b
When the packet length is greater than the IP expected length, the padding data at the end of the frame will be trimmed.
2024-05-24 19:10:33 +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
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
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
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