Lines Matching refs:tftp_handle
65 struct tftp_handle;
71 static int tftp_parse_oack(struct tftp_handle *, char *, size_t);
74 static int tftp_set_blksize(struct tftp_handle *, const char *);
107 struct tftp_handle { struct
128 struct tftp_handle *tftp_handle; argument
145 static int tftp_getnextblock(struct tftp_handle *h);
149 tftp_senderr(struct tftp_handle *h, u_short errcode, const char *msg) in tftp_senderr()
175 tftp_sendack(struct tftp_handle *h, u_short block) in tftp_sendack()
199 struct tftp_handle *h; in recvtftp()
208 h = extra->tftp_handle; in recvtftp()
308 tftp_makereq(struct tftp_handle *h) in tftp_makereq()
368 recv_extra.tftp_handle = h; in tftp_makereq()
409 tftp_getnextblock(struct tftp_handle *h) in tftp_getnextblock()
433 recv_extra.tftp_handle = h; in tftp_getnextblock()
468 static struct tftp_handle *handles[TOPEN_MAX];
474 struct tftp_handle *tftpfile; in tftp_open()
558 struct tftp_handle *tftpfile; in tftp_read()
652 struct tftp_handle *tftpfile; in tftp_close()
674 struct tftp_handle *tftpfile; in tftp_stat()
711 struct tftp_handle *tftpfile; in tftp_seek()
731 struct tftp_handle *tftpfile; in tftp_preload()
782 tftp_set_blksize(struct tftp_handle *h, const char *str) in tftp_set_blksize()
832 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len) in tftp_parse_oack()