Subject: [PATCH 2/3] TCP and wget implementation. Patch V5, 2 of 3.
This is the TCP and Kconfig files for introducing TCP and wget into u-boot.
All the code is new, and not copied from any source.
Makefile in the net directory is modified by hand. It appears not to be generated by Kconfig.
Signed-off-by Duncan Hare <[email protected]>
---
net/Makefile | 3 +- net/tcp.c | 689 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ net/tcp.h | 214 +++++++++++++++++++ 3 files changed, 905 insertions(+), 1 deletion(-) create mode 100644 net/tcp.c create mode 100644 net/tcp.h
net/Makefile +2 -1
@@ -25,7 +25,8 @@ obj-$(CONFIG_CMD_PING) += ping.o obj-$(CONFIG_CMD_RARP) += rarp.o obj-$(CONFIG_CMD_SNTP) += sntp.o obj-$(CONFIG_CMD_NET) += tftp.o - +obj-$(CONFIG_TCP) += tcp.o +obj-$(CONFIG_CMD_WGET) += wget.o # Disable this warning as it is triggered by: # sprintf(buf, index ? "foo%d" : "foo", index) # and this is intentional usage.
net/tcp.c new file +689 -0
689 lines not on this page · raw message
net/tcp.h new file +214 -0
214 lines not on this page · raw message
Signature · 1 line
2.11.0