Re: [U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-29 Thread Heinrich Schuchardt
On 01/29/2018 06:30 PM, Duncan Hare wrote: >> The patch is trying to put everything into net.c. This is a mess and >> not where we should head to. > > Not at all. I tried that and it was correctly rejected. The TCP > functions are in tcp.c, and the wget functions in wget.c > > There is no socket

Re: [U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-29 Thread Duncan Hare
> The patch is trying to put everything into net.c. This is a mess and > not where we should head to. Not at all. I tried that and it was correctly rejected. The TCP functions are in tcp.c, and the wget functions in wget.c There is no socket. There is no socket analogue. There is no widespread c

Re: [U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-28 Thread Heinrich Schuchardt
On 01/29/2018 02:34 AM, Duncan Hare wrote: > Date: Sun, 28 Jan 2018 11:25:51 -0800 > > This is the interface and Kconfig files for introducing TCP and wget > into u-boot. > > Interfaces are in net.c and net.h, ping is modified to the new ip send > interface, and UDP and TCP have shim procedures

[U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-28 Thread Duncan Hare
Date: Sun, 28 Jan 2018 11:25:51 -0800 This is the interface and Kconfig files for introducing TCP and wget into u-boot. Interfaces are in net.c and net.h, ping is modified to the new ip send interface, and UDP and TCP have shim procedures call map the protocol interface to the ip interface.