]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: support being a TCP server to unblock TCP fastboot
authorDmitrii Merkurev <dimorinny@google.com>
Wed, 12 Apr 2023 18:49:29 +0000 (19:49 +0100)
committerTom Rini <trini@konsulko.com>
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 <dimorinny@google.com>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Сс: Joe Hershberger <joe.hershberger@ni.com>
Сс: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
include/net/tcp.h
net/tcp.c
net/wget.c