Commit Graph
3152 Commits
Author SHA1 Message Date
jek 76c7c56de6 Add ETCP protocol implementation with window management and tests
- Implement Extended Transmission Control Protocol (etcp.c/h) for reliable
  UDP transmission with packet ordering and loss recovery
- Add window management (congestion control) with dynamic window sizing
  based on RTT and bandwidth
- Implement ACK handling, retransmission logic, and gap detection
- Add comprehensive test suite: unit tests, simple test, and stress test
  with network emulation (packet loss, reordering, delay)
- Include mock u_async implementation for testing
- Update Makefile with new ETCP build targets
2026-01-13 16:49:20 +04:00
jek aa97731e4b Refactor tests and improve packet normalizer
- Move all test files to tests/ directory
- Update Makefile to build tests in tests/ directory
- Add fragment reassembly timeout mechanism (500ms default)
- Add error count API (pkt_normalizer_get_error_count, pkt_normalizer_reset_error_count)
- Enhance error handling with timeout callbacks
- Add comprehensive stress tests and edge case tests
- Update .gitignore for build artifacts
2026-01-13 02:09:38 +04:00