Lines Matching refs:handle
81 void *handle;
110 if (tftp_state.handle) {
111 tftp_state.ctx->close(tftp_state.handle);
112 tftp_state.handle = NULL;
192 ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE);
233 if (tftp_state.handle != NULL) {
256 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ));
259 if (!tftp_state.handle) {
286 if (tftp_state.handle == NULL) {
300 ret = tftp_state.ctx->write(tftp_state.handle, p);
326 if (tftp_state.handle == NULL) {
373 if (tftp_state.handle == NULL) {
412 tftp_state.handle = NULL;