Searched refs:intvl (Results 1 – 2 of 2) sorted by relevance
283 struct timespec last, intvl; in ping6() local325 intvl.tv_sec = interval / 1000; in ping6()326 intvl.tv_nsec = interval % 1000 * 1000000; in ping6()460 intvl.tv_sec = (time_t)t; in ping6()461 intvl.tv_nsec = in ping6()462 (long)((t - intvl.tv_sec) * 1000000000); in ping6()463 if (intvl.tv_sec < 0) in ping6()466 if (intvl.tv_sec == 0 && intvl.tv_nsec < 1000) { in ping6()468 intvl.tv_nsec = 1000; in ping6()1174 intvl.tv_sec = 0; in ping6()[all …]
213 struct timespec last, intvl; in ping() local919 intvl.tv_sec = 0; in ping()920 intvl.tv_nsec = 10000000; in ping()922 intvl.tv_sec = interval / 1000; in ping()923 intvl.tv_nsec = interval % 1000 * 1000000; in ping()944 timespecadd(&last, &intvl, &timeout); in ping()1008 intvl.tv_nsec = 0; in ping()1010 intvl.tv_sec = 2 * tmax / 1000; in ping()1011 if (intvl.tv_sec == 0) in ping()1012 intvl.tv_sec = 1; in ping()[all …]