Lines Matching refs:tftp_handle
63 struct tftp_handle;
69 static int tftp_parse_oack(struct tftp_handle *, char *, size_t);
72 static int tftp_set_blksize(struct tftp_handle *, const char *);
102 struct tftp_handle { struct
116 struct tftp_handle *tftp_handle; argument
133 static int tftp_getnextblock(struct tftp_handle *h);
137 tftp_senderr(struct tftp_handle *h, ushort_t errcode, const char *msg) in tftp_senderr()
163 tftp_sendack(struct tftp_handle *h, ushort_t block) in tftp_sendack()
184 struct tftp_handle *h; in recvtftp()
191 h = extra->tftp_handle; in recvtftp()
288 tftp_makereq(struct tftp_handle *h) in tftp_makereq()
346 recv_extra.tftp_handle = h; in tftp_makereq()
384 tftp_getnextblock(struct tftp_handle *h) in tftp_getnextblock()
404 recv_extra.tftp_handle = h; in tftp_getnextblock()
434 struct tftp_handle *tftpfile; in tftp_open()
498 struct tftp_handle *tftpfile; in tftp_read()
580 struct tftp_handle *tftpfile; in tftp_close()
597 struct tftp_handle *tftpfile; in tftp_stat()
611 struct tftp_handle *tftpfile; in tftp_seek()
629 tftp_set_blksize(struct tftp_handle *h, const char *str) in tftp_set_blksize()
679 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len) in tftp_parse_oack()