Lines Matching refs:rpacket
142 tftp_packet_t rpacket; member
587 rblock = getrpacketblock(&state->rpacket); in tftp_rx()
712 rblock = getrpacketblock(&state->rpacket); in tftp_tx()
931 Curl_safefree(state->rpacket.data); in tftp_disconnect()
964 if(!state->rpacket.data) { in tftp_connect()
965 state->rpacket.data = calloc(1, blksize + 2 + 2); in tftp_connect()
967 if(!state->rpacket.data) in tftp_connect()
1088 (void *)state->rpacket.data, in tftp_receive_packet()
1106 state->event = (tftp_event_t)getrpacketevent(&state->rpacket); in tftp_receive_packet()
1112 (NEXT_BLOCKNUM(state->block) == getrpacketblock(&state->rpacket))) { in tftp_receive_packet()
1114 (char *)state->rpacket.data+4, in tftp_receive_packet()
1125 state->error = (tftp_error_t)getrpacketblock(&state->rpacket); in tftp_receive_packet()
1126 infof(data, "%s\n", (const char *)state->rpacket.data+4); in tftp_receive_packet()
1132 (const char *)state->rpacket.data+2, in tftp_receive_packet()