• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:sbytes

139   int             sbytes;  member
448 size_t sbytes; in tftp_send_first() local
495 sbytes = 4 + strlen(filename) + strlen(mode); in tftp_send_first()
506 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
507 (char *)state->spacket.data+sbytes, in tftp_send_first()
509 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
510 (char *)state->spacket.data+sbytes, buf); in tftp_send_first()
513 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
514 (char *)state->spacket.data+sbytes, in tftp_send_first()
516 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
517 (char *)state->spacket.data+sbytes, buf); in tftp_send_first()
521 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
522 (char *)state->spacket.data+sbytes, in tftp_send_first()
524 sbytes += tftp_option_add(state, sbytes, in tftp_send_first()
525 (char *)state->spacket.data+sbytes, buf); in tftp_send_first()
531 (SEND_TYPE_ARG3)sbytes, 0, in tftp_send_first()
534 if(senddata != (ssize_t)sbytes) { in tftp_send_first()
582 ssize_t sbytes; in tftp_rx() local
612 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
616 if(sbytes < 0) { in tftp_rx()
637 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
641 if(sbytes < 0) { in tftp_rx()
663 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
667 if(sbytes<0) { in tftp_rx()
704 ssize_t sbytes; in tftp_tx() local
736 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
737 4+state->sbytes, SEND_4TH_ARG, in tftp_tx()
741 if(sbytes<0) { in tftp_tx()
760 if(state->block > 1 && state->sbytes < (int)state->blksize) { in tftp_tx()
765 result = Curl_fillreadbuffer(state->conn, state->blksize, &state->sbytes); in tftp_tx()
769 sbytes = sendto(state->sockfd, (void *) state->spacket.data, in tftp_tx()
770 4 + state->sbytes, SEND_4TH_ARG, in tftp_tx()
774 if(sbytes<0) { in tftp_tx()
779 k->writebytecount += state->sbytes; in tftp_tx()
795 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
796 4+state->sbytes, SEND_4TH_ARG, in tftp_tx()
800 if(sbytes<0) { in tftp_tx()