]> git.proxmox.com Git - mirror_qemu.git/blobdiff - slirp/tftp.h
target-mips: fix incorrect test for MTHLIP
[mirror_qemu.git] / slirp / tftp.h
index 9c364ea28e0adf996ffa4fa270dc7428ffab4d38..87adeb533352e6736422ec291df3e6ceae3d9a01 100644 (file)
@@ -1,4 +1,6 @@
 /* tftp defines */
+#ifndef SLIRP_TFTP_H
+#define SLIRP_TFTP_H 1
 
 #define TFTP_SESSIONS_MAX 3
 
@@ -37,8 +39,11 @@ struct tftp_session {
 
     struct in_addr client_ip;
     uint16_t client_port;
+    uint32_t block_nr;
 
     int timestamp;
 };
 
 void tftp_input(struct mbuf *m);
+
+#endif