X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=slirp%2Ftftp.h;h=87adeb533352e6736422ec291df3e6ceae3d9a01;hb=aad1239a7e15f42c0b8a802433582c48417a4541;hp=72e5e91bef6bccc35d7788d40bd29c8686569638;hpb=89d2d3af518879ddfca367e56627229a09e90352;p=qemu.git diff --git a/slirp/tftp.h b/slirp/tftp.h index 72e5e91be..87adeb533 100644 --- a/slirp/tftp.h +++ b/slirp/tftp.h @@ -1,4 +1,6 @@ /* tftp defines */ +#ifndef SLIRP_TFTP_H +#define SLIRP_TFTP_H 1 #define TFTP_SESSIONS_MAX 3 @@ -33,11 +35,15 @@ struct tftp_t { struct tftp_session { Slirp *slirp; char *filename; + int fd; struct in_addr client_ip; uint16_t client_port; + uint32_t block_nr; int timestamp; }; void tftp_input(struct mbuf *m); + +#endif