diff options
Diffstat (limited to 'slirp/tftp.h')
-rw-r--r-- | slirp/tftp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/slirp/tftp.h b/slirp/tftp.h index 72e5e91bef..87adeb5333 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 |