Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2944)

Unified Diff: app/inetsrv/inetsrv.c

Issue 1346853002: [app][inetsrv] add tftp server. (Closed) Base URL: https://github.com/travisg/lk.git@master
Patch Set: review changes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | app/inetsrv/rules.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/inetsrv/inetsrv.c
diff --git a/app/inetsrv/inetsrv.c b/app/inetsrv/inetsrv.c
index 63a64e9f643e3a880083bf946ad6bab3e4ea87c9..11d412b51f7c715a9a33f9b49db53232823f54b9 100644
--- a/app/inetsrv/inetsrv.c
+++ b/app/inetsrv/inetsrv.c
@@ -29,6 +29,7 @@
#include <compiler.h>
#include <kernel/thread.h>
#include <lib/minip.h>
+#include <lib/tftp.h>
#include <lib/cksum.h>
#include <platform.h>
@@ -227,6 +228,7 @@ static void inetsrv_entry(const struct app_descriptor *app, void *args)
thread_detach_and_resume(thread_create("chargen", &chargen_server, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE));
thread_detach_and_resume(thread_create("discard", &discard_server, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE));
thread_detach_and_resume(thread_create("echo", &echo_server, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE));
+ tftp_server_init(NULL);
}
APP_START(inetsrv)
« no previous file with comments | « no previous file | app/inetsrv/rules.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698