]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/tftp.h
dm: eth: Add basic driver model support to Ethernet stack
[karo-tx-uboot.git] / net / tftp.h
index e3dfb2628aa51bf140d2df6b2e32995aa53fce01..2b686e3ca6a0d52778fedb66706f9882c19855ac 100644 (file)
@@ -2,6 +2,8 @@
  *     LiMon - BOOTP/TFTP.
  *
  *     Copyright 1994, 1995, 2000 Neil Russell.
+ *     Copyright 2011 Comelit Group SpA
+ *                    Luca Ceresoli <luca.ceresoli@comelit.it>
  *     (See License)
  */
 
  */
 
 /* tftp.c */
-extern void    TftpStart (void);       /* Begin TFTP get */
+void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */
+
+#ifdef CONFIG_CMD_TFTPSRV
+extern void TftpStartServer(void);     /* Wait for incoming TFTP put */
+#endif
+
+extern ulong TftpRRQTimeoutMSecs;
+extern int TftpRRQTimeoutCountMax;
 
 /**********************************************************************/