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