Lines Matching refs:nreceived
21 long nreceived; /* # of packets we got back */ variable
422 if (nreceived) { in __schedule_exit()
743 if (npackets && nreceived + nerrors >= npackets) in main_loop()
879 ++nreceived; in gather_statistics()
917 --nreceived; in gather_statistics()
920 --nreceived; in gather_statistics()
1021 printf("%ld received", nreceived); in finish()
1030 (int) ((((long long)(ntransmitted - nreceived)) * 100) / in finish()
1036 if (nreceived && timing) { in finish()
1039 tsum /= nreceived + nrepeats; in finish()
1040 tsum2 /= nreceived + nrepeats; in finish()
1055 if (nreceived && (!interval || (options&(F_FLOOD|F_ADAPTIVE))) && ntransmitted > 1) { in finish()
1061 exit(!nreceived || (deadline && nreceived < npackets)); in finish()
1073 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted; in status()
1075 fprintf(stderr, "\r%ld/%ld packets, %d%% loss", ntransmitted, nreceived, loss); in status()
1077 if (nreceived && timing) { in status()
1078 tavg = tsum / (nreceived + nrepeats); in status()