You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Evgeny
8d9340c949
Refactor: Move mainloop from utun_instance to main
Major architectural changes:
- utun_instance_run() now does single iteration instead of mainloop
- Added tun_read_callback() to handle TUN device packets
- Added utun_instance_register_sockets() for uasync integration
- Mainloop moved to main() with proper signal handling
- Removed parse config file functions from debug_config
- all fprintf replaced with DEBUG_* macros
Files changed:
- src/utun.c: Added mainloop, signal handlers, proper init order
- src/utun_instance.c: Added callback, socket registration, single-run
- src/utun_instance.h: Added declarations, tun_socket_id field
- u_async/debug_config.c: Removed file parsing and auto-reload
- u_async/debug_config.h: Removed file functions, added categories
- changelog.txt: Added all changes
Breaking changes:
- debug_parse_config_file() removed (use debug_parse_config() only)
- etcp crypto integration needs fixing (separate issue)
AGENTS.md principles followed:
- No backward compatibility preserved
- Removed 103+ lines of legacy code
- Added statistics tracking
- Clean architecture: create -> init -> register -> run -> destroy
|
9 months ago |
| .. |
|
Makefile.am
|
Refactor: Move mainloop from utun_instance to main
|
9 months ago |
|
debug_config.c
|
Refactor: Move mainloop from utun_instance to main
|
9 months ago |
|
debug_config.h
|
Refactor: Move mainloop from utun_instance to main
|
9 months ago |
|
timeout_heap.c
|
Refactor u_async into shared module: move sources to u_async/, update Makefiles, remove duplicates
|
9 months ago |
|
timeout_heap.h
|
Refactor u_async into shared module: move sources to u_async/, update Makefiles, remove duplicates
|
9 months ago |
|
u_async.c
|
Optimize memory management and add runtime config support
|
9 months ago |
|
u_async.h
|
Оптимизация pacing механизма и устранение race condition
|
9 months ago |