Home | History | Annotate | Download | only in ping

Lines Matching defs:next_tx

204 static struct timespec now, clear_cache, last_tx, next_tx, first_tx;
762 sec = diffsec(&next_tx, &now);
766 sec = diffsec(&next_tx, &now);
973 if (next_tx.tv_sec == 0) {
975 next_tx = now;
983 waittime = diffsec(&next_tx, &now);
986 next_tx.tv_sec += (int)(-waittime);
991 next_tx.tv_nsec += numskip * interval_tv.tv_nsec;
997 while (next_tx.tv_nsec >= 1000000000) {
998 next_tx.tv_sec++;
999 next_tx.tv_nsec -= 1000000000;
1003 timespecadd(&next_tx, &interval_tv, &next_tx);
1004 } while (diffsec(&next_tx, &now) < -0.1);
1008 timespecadd(&next_tx, &interval_tv, &next_tx);