[PATCH 1/3] net: support being a TCP server to unblock TCP fastboot

Simon Glass sjg at chromium.org
Sat Apr 1 08:32:22 CEST 2023


On Wed, 29 Mar 2023 at 09:31, Dmitrii Merkurev <dimorinny at google.com> wrote:
>
> 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 at google.com>
> Cc: Ying-Chun Liu (PaulLiu) <paul.liu at linaro.org>
> Cc: Simon Glass <sjg at chromium.org>
> Сс: Joe Hershberger <joe.hershberger at ni.com>
> Сс: Ramon Fried <rfried.dev at gmail.com>
> ---
>
>  include/net/tcp.h |  16 +++++--
>  net/tcp.c         | 115 +++++++++++++++++++++++-----------------------
>  net/wget.c        |  43 ++++++++---------
>  3 files changed, 90 insertions(+), 84 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list