Searched refs:npackets (Results 1 – 3 of 3) sorted by relevance
87 extern long npackets; /* max packets to transmit */160 if (npackets && ntransmitted >= npackets && !deadline) in schedule_exit()
18 long npackets; /* max packets to transmit */ variable108 npackets = atoi(optarg); in common_options()109 if (npackets <= 0) { in common_options()289 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) in pinger()524 if (npackets && nreceived + nerrors >= npackets) in main_loop()829 exit(!nreceived || (deadline && nreceived < npackets)); in finish()
241 long npackets; /* max packets to transmit */ variable441 npackets = strtol(optarg, &e, 10); in main()442 if (npackets <= 0 || *optarg == '\0' || *e != '\0') in main()1167 if (npackets && nreceived >= npackets) in main()1261 if (npackets && ntransmitted >= npackets) in pinger()