]> Git Repo - u-boot.git/commit - net/tcp.c
net: support being a TCP server to unblock TCP fastboot
authorDmitrii Merkurev <[email protected]>
Wed, 12 Apr 2023 18:49:29 +0000 (19:49 +0100)
committerTom Rini <[email protected]>
Fri, 5 May 2023 21:48:44 +0000 (17:48 -0400)
commit08fb8da371331c747c265d999bcb3426e3d2d0b3
tree5a09a8af1b6cbd36d3ea9f82e2e0392f447a4f48
parent29fb68c4ff362325426dee6646e4dc3de01539f1
net: support being a TCP server to unblock TCP fastboot

Make following changes to unblock TCP fastboot support:

1. Implement being a TCP server support
2. Introduce dedicated TCP traffic handler (get rid of UDP signature)
3. Ensure seq_num and ack_num are respected in net_send_tcp_packet
function (make sure existing wget_cmd code is reflected with the fix)

Signed-off-by: Dmitrii Merkurev <[email protected]>
Cc: Ying-Chun Liu (PaulLiu) <[email protected]>
Cc: Simon Glass <[email protected]>
Сс: Joe Hershberger <[email protected]>
Сс: Ramon Fried <[email protected]>
Reviewed-by: Ying-Chun Liu (PaulLiu) <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
include/net/tcp.h
net/tcp.c
net/wget.c
This page took 0.033334 seconds and 4 git commands to generate.