c05e1c9991e2b016affd62ad6fdc0488998717b0
- Replace uIP (src/uip/) with adapted lwIP 2.1.x TCP module - Remove original src/lwip/ (replaced by src/lwip_tcp/) - New src/lwip_tcp/ module: lwip_pbuf, lwip_tcp core/in/out - Full TCP state machine, sliding window, congestion control - Fast retransmit/recovery, Van Jacobson RTT estimation - Nagle algorithm (TF_NODELAY), delayed ACK - OOSEQ reassembly, TIME-WAIT handling - Memory: memory_pool for PCB, listen PCB, tcp_seg - Timers: uasync periodic timer drives fast/slow timers - Output: callback-based IP packet output (TUN/raw-fd) - Error codes: LERR_ prefix to avoid conflicts - pbuf: simplified PBUF_RAM with proper header space reservation - Integrate into tcp_proxy.c/h with per-pcb callbacks - Active connection API: struct proxy_conn* instead of int conn_idx - Makefile: remove uip, add lwip_tcp files - test_tcp_proxy updated for new API; test_tcp_proxy_remote disabled - Known: test_tcp_proxy data transfer needs flow tuning (WIP)
Languages
C
63.3%
C++
18.8%
Kotlin
9.2%
HTML
5.5%
Python
1.2%
Other
1.9%