Lines Matching refs:ntransmitted
23 long ntransmitted; /* sequence # for outbound packets = #sent */ variable
477 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) in pinger()
508 if (ntransmitted > 0 && !rcvd_test(ntransmitted)) { in pinger()
510 printf("no answer yet for icmp_seq=%lu\n", (ntransmitted % MAX_DUP_CHK)); in pinger()
1020 printf("%ld packets transmitted, ", ntransmitted); in finish()
1028 if (ntransmitted) { in finish()
1030 (int) ((((long long)(ntransmitted - nreceived)) * 100) / in finish()
1031 ntransmitted)); in finish()
1055 if (nreceived && (!interval || (options&(F_FLOOD|F_ADAPTIVE))) && ntransmitted > 1) { in finish()
1056 int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1); in finish()
1072 if (ntransmitted) in status()
1073 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted; in status()
1075 fprintf(stderr, "\r%ld/%ld packets, %d%% loss", ntransmitted, nreceived, loss); in status()