Evgeny 94cf07ee3d fix lwip_tcp port byte order (double-htons), mapping lookup, socket error handling
- Fix port encoding: PCB stores ports in host byte order, tcp_create_segment uses htons
- Fix tcp_bind/tcp_connect: ntohs incoming network-order ports
- Fix demux comparisons: use host-order sport/dport statics instead of in-place ntohs
- Fix tcp_output_alloc_header_common: htons for port output
- Add static sport/dport variables (host byte order) to avoid tcphdr corruption
- Fix sock_transport_error_callback: handle EPOLLERR during non-blocking connect
- Fix mapping local_port: store host-order port for find_mapping_by_port
- Fix tcp_proxy_raw_read/tun_input: use IP total length for packet boundaries
- test_tcp_proxy: reduce size to 2KB, fix port, add debug_init, add echo server log
- test_tcp_proxy handshake and basic data flow now working (known: cwnd/poll throughput tuning needed)
2026-05-12 12:16:09 +03:00
2026-04-25 18:42:20 +03:00
1
2026-04-21 16:14:03 +00:00
1
2026-03-08 18:52:53 +03:00
…
…
1
2026-03-08 19:59:42 +03:00
S
Description
No description provided
GPL-3.0
468 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 63.6%
C++ 17.3%
Kotlin 9.4%
HTML 6.5%
Python 1.2%
Other 1.7%