Lines Matching refs:tftp_handle
63 struct tftp_handle;
67 static int tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len);
71 static int tftp_set_blksize(struct tftp_handle *h, const char *str);
73 static ssize_t sendrecv_tftp(struct tftp_handle *h,
76 ssize_t (*rproc)(struct tftp_handle *h, void *, ssize_t, time_t, unsigned short *),
108 struct tftp_handle {
137 static int tftp_getnextblock(struct tftp_handle *h);
141 tftp_senderr(struct tftp_handle *h, u_short errcode, const char *msg)
167 tftp_sendack(struct tftp_handle *h)
184 recvtftp(struct tftp_handle *h, void *pkt, ssize_t len, time_t tleft,
269 tftp_makereq(struct tftp_handle *h)
357 tftp_getnextblock(struct tftp_handle *h)
399 struct tftp_handle *tftpfile;
417 tftpfile = (struct tftp_handle *) malloc(sizeof(*tftpfile));
463 struct tftp_handle *tftpfile;
464 tftpfile = (struct tftp_handle *) f->f_fsdata;
533 struct tftp_handle *tftpfile;
534 tftpfile = (struct tftp_handle *) f->f_fsdata;
556 struct tftp_handle *tftpfile;
557 tftpfile = (struct tftp_handle *) f->f_fsdata;
570 struct tftp_handle *tftpfile;
571 tftpfile = (struct tftp_handle *) f->f_fsdata;
588 sendrecv_tftp(struct tftp_handle *h,
591 ssize_t (*rproc)(struct tftp_handle *, void *, ssize_t, time_t, unsigned short *),
642 tftp_set_blksize(struct tftp_handle *h, const char *str)
692 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len)