Searched refs:npackets (Results 1 – 2 of 2) sorted by relevance
138 extern long npackets; /* max packets to transmit */227 if (npackets && ntransmitted >= npackets && !deadline) in schedule_exit()
20 long npackets; /* max packets to transmit */ variable263 npackets = atoi(optarg); in common_options()264 if (npackets <= 0) { in common_options()477 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) in pinger()743 if (npackets && nreceived + nerrors >= npackets) in main_loop()1061 exit(!nreceived || (deadline && nreceived < npackets)); in finish()