Home
last modified time | relevance | path

Searched refs:npackets (Results 1 – 2 of 2) sorted by relevance

/external/iputils/
Dping_common.c20 long npackets; /* max packets to transmit */ variable
263 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()
Dping_common.h138 extern long npackets; /* max packets to transmit */
227 if (npackets && ntransmitted >= npackets && !deadline) in schedule_exit()