Skip to contentSkip to conversation

Subject: [PATCH 2/3] TCP and wget implementation. Patch V5, 2 of 3.

U-Boot Duncan Hare 1 participant 1 message Jan 30, 2018 Networking

lore
Share & tools
lore
#0 lore raw

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.

---

 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
index ae54eee5af..f83df5b728 100644
@@ -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