• Home
  • Raw
  • Download

Lines Matching refs:spacket

144   tftp_packet_t   spacket;  member
475 setpacketevent(&state->spacket, TFTP_EVENT_WRQ); in tftp_send_first()
477 (char *)state->spacket.data + 4; in tftp_send_first()
483 setpacketevent(&state->spacket, TFTP_EVENT_RRQ); in tftp_send_first()
499 msnprintf((char *)state->spacket.data + 2, in tftp_send_first()
515 (char *)state->spacket.data + sbytes, in tftp_send_first()
519 (char *)state->spacket.data + sbytes, buf); in tftp_send_first()
525 (char *)state->spacket.data + sbytes, in tftp_send_first()
529 (char *)state->spacket.data + sbytes, buf); in tftp_send_first()
535 (char *)state->spacket.data + sbytes, in tftp_send_first()
539 (char *)state->spacket.data + sbytes, buf); in tftp_send_first()
550 senddata = sendto(state->sockfd, (void *)state->spacket.data, in tftp_send_first()
632 setpacketevent(&state->spacket, TFTP_EVENT_ACK); in tftp_rx()
633 setpacketblock(&state->spacket, state->block); in tftp_rx()
634 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
657 setpacketevent(&state->spacket, TFTP_EVENT_ACK); in tftp_rx()
658 setpacketblock(&state->spacket, state->block); in tftp_rx()
659 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
685 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
697 setpacketevent(&state->spacket, TFTP_EVENT_ERROR); in tftp_rx()
698 setpacketblock(&state->spacket, state->block); in tftp_rx()
699 (void)sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
759 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
782 setpacketevent(&state->spacket, TFTP_EVENT_DATA); in tftp_tx()
783 setpacketblock(&state->spacket, state->block); in tftp_tx()
794 state->conn->data->req.upload_fromhere = (char *)state->spacket.data + 4; in tftp_tx()
804 sbytes = sendto(state->sockfd, (void *) state->spacket.data, in tftp_tx()
830 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
846 setpacketevent(&state->spacket, TFTP_EVENT_ERROR); in tftp_tx()
847 setpacketblock(&state->spacket, state->block); in tftp_tx()
848 (void)sendto(state->sockfd, (void *)state->spacket.data, 4, SEND_4TH_ARG, in tftp_tx()
970 Curl_safefree(state->spacket.data); in tftp_disconnect()
1015 if(!state->spacket.data) { in tftp_connect()
1016 state->spacket.data = calloc(1, need_blksize + 2 + 2); in tftp_connect()
1018 if(!state->spacket.data) in tftp_connect()