Lines Matching defs:tftp_handle
62 struct tftp_handle;
66 static int tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len);
70 static int tftp_set_blksize(struct tftp_handle *h, const char *str);
72 static ssize_t sendrecv_tftp(struct tftp_handle *h,
75 ssize_t (*rproc)(struct tftp_handle *h, void **, void **, time_t, unsigned short *),
107 struct tftp_handle {
133 static int tftp_getnextblock(struct tftp_handle *h);
137 tftp_senderr(struct tftp_handle *h, u_short errcode, const char *msg)
163 tftp_sendack(struct tftp_handle *h)
180 recvtftp(struct tftp_handle *h, void **pkt, void **payload, time_t tleft,
277 tftp_makereq(struct tftp_handle *h)
373 tftp_getnextblock(struct tftp_handle *h)
420 struct tftp_handle *tftpfile;
435 tftpfile = (struct tftp_handle *) malloc(sizeof(*tftpfile));
482 struct tftp_handle *tftpfile;
483 tftpfile = (struct tftp_handle *) f->f_fsdata;
552 struct tftp_handle *tftpfile;
553 tftpfile = (struct tftp_handle *) f->f_fsdata;
576 struct tftp_handle *tftpfile;
577 tftpfile = (struct tftp_handle *) f->f_fsdata;
590 struct tftp_handle *tftpfile;
591 tftpfile = (struct tftp_handle *) f->f_fsdata;
608 sendrecv_tftp(struct tftp_handle *h,
611 ssize_t (*rproc)(struct tftp_handle *, void **, void **, time_t,
669 tftp_set_blksize(struct tftp_handle *h, const char *str)
719 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len)