Searched refs:bwend (Results 1 – 2 of 2) sorted by relevance
1011 timerclear(&bw->bwend); in bandwidth_limit_init()1030 gettimeofday(&bw->bwend, NULL); in bandwidth_limit()1031 timersub(&bw->bwend, &bw->bwstart, &bw->bwend); in bandwidth_limit()1032 if (!timerisset(&bw->bwend)) in bandwidth_limit()1041 if (timercmp(&bw->bwstart, &bw->bwend, >)) { in bandwidth_limit()1042 timersub(&bw->bwstart, &bw->bwend, &bw->bwend); in bandwidth_limit()1045 if (bw->bwend.tv_sec) { in bandwidth_limit()1049 } else if (bw->bwend.tv_usec < 10000) { in bandwidth_limit()1055 TIMEVAL_TO_TIMESPEC(&bw->bwend, &ts); in bandwidth_limit()
125 struct timeval bwstart, bwend; member