Lines Matching refs:nreceived
21 long nreceived; /* # of packets we got back */
422 if (nreceived) {
738 if (npackets && nreceived + nerrors >= npackets)
874 ++nreceived;
912 --nreceived;
915 --nreceived;
1016 printf("%ld received", nreceived);
1025 (int) ((((long long)(ntransmitted - nreceived)) * 100) /
1031 if (nreceived && timing) {
1034 tsum /= nreceived + nrepeats;
1035 tsum2 /= nreceived + nrepeats;
1050 if (nreceived && (!interval || (options&(F_FLOOD|F_ADAPTIVE))) && ntransmitted > 1) {
1056 exit(!nreceived || (deadline && nreceived < npackets));
1068 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted;
1070 fprintf(stderr, "\r%ld/%ld packets, %d%% loss", ntransmitted, nreceived, loss);
1072 if (nreceived && timing) {
1073 tavg = tsum / (nreceived + nrepeats);