Lines Matching defs:ntransmitted
23 long ntransmitted; /* sequence # for outbound packets = #sent */
477 if (exiting || (npackets && ntransmitted >= npackets && !deadline))
508 if (ntransmitted > 0 && !rcvd_test(ntransmitted)) {
510 printf("no answer yet for icmp_seq=%lu\n", (ntransmitted % MAX_DUP_CHK));
1015 printf("%ld packets transmitted, ", ntransmitted);
1023 if (ntransmitted) {
1025 (int) ((((long long)(ntransmitted - nreceived)) * 100) /
1026 ntransmitted));
1050 if (nreceived && (!interval || (options&(F_FLOOD|F_ADAPTIVE))) && ntransmitted > 1) {
1051 int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1);
1067 if (ntransmitted)
1068 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted;
1070 fprintf(stderr, "\r%ld/%ld packets, %d%% loss", ntransmitted, nreceived, loss);