Lines Matching refs:sent_total
322 u16_t i, sent_total = 0;
355 err = tcp_write(pcb, &tx_data[sent_total], TCP_MSS, TCP_WRITE_FLAG_COPY);
357 sent_total += TCP_MSS;
419 u16_t i, sent_total = 0;
454 err = tcp_write(pcb, &tx_data[sent_total], TCP_MSS, TCP_WRITE_FLAG_COPY);
456 sent_total += TCP_MSS;
507 u16_t sent_total, i;
540 sent_total = 0;
543 err = tcp_write(pcb, &tx_data[sent_total], initial_data_len, TCP_WRITE_FLAG_COPY);
550 sent_total += initial_data_len;
552 for (; sent_total < (TCP_WND - TCP_MSS); sent_total += TCP_MSS) {
553 err = tcp_write(pcb, &tx_data[sent_total], TCP_MSS, TCP_WRITE_FLAG_COPY);
561 EXPECT(sent_total == (TCP_WND - TCP_MSS));
572 err = tcp_write(pcb, &tx_data[sent_total], TCP_MSS, TCP_WRITE_FLAG_COPY);
573 sent_total += TCP_MSS;
593 err = tcp_write(pcb, &tx_data[sent_total], 1, TCP_WRITE_FLAG_COPY);