• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/ppp/

Lines Matching refs:timer

64 #include "timer.h"
204 timer_Stop(&bundle->choked.timer);
235 != bundle->phys_type.open && bundle->session.timer.state == TIMER_STOPPED)
241 != bundle->phys_type.open && bundle->idle.timer.state == TIMER_STOPPED)
242 /* We may need to start our idle timer */
274 * autoload timer.
277 * If it's the first NCP, start the idle timer.
279 * If it's the first NCP, start the autoload timer
309 * If it's our last NCP, stop the idle timer.
311 * If it's our last NCP, stop the autoload timer
477 if (bundle->choked.timer.state == TIMER_RUNNING)
478 timer_Stop(&bundle->choked.timer); /* Not needed any more */
484 } else if (bundle->choked.timer.state == TIMER_STOPPED) {
485 bundle->choked.timer.func = bundle_ClearQueues;
486 bundle->choked.timer.name = "output choke";
487 bundle->choked.timer.load = bundle->cfg.choked.timeout * SECTICKS;
488 bundle->choked.timer.arg = bundle;
489 timer_Start(&bundle->choked.timer);
883 memset(&bundle.idle.timer, '\0', sizeof bundle.idle.timer);
886 memset(&bundle.choked.timer, '\0', sizeof bundle.choked.timer);
916 timer_Stop(&bundle->idle.timer);
917 timer_Stop(&bundle->choked.timer);
993 dl->dial.timer.state == TIMER_RUNNING) ||
995 timer_Stop(&dl->dial.timer); /* We're finished with this */
1160 log_Printf(LogPHASE, "Idle timer expired\n");
1166 * Start Idle timer. If timeout is reached, we call bundle_Close() to
1172 timer_Stop(&bundle->idle.timer);
1189 bundle->idle.timer.func = bundle_IdleTimeout;
1190 bundle->idle.timer.name = "idle";
1191 bundle->idle.timer.load = secs * SECTICKS;
1192 bundle->idle.timer.arg = bundle;
1193 timer_Start(&bundle->idle.timer);
1211 timer_Stop(&bundle->idle.timer);
1230 log_Printf(LogPHASE, "Session-Timeout timer expired\n");
1238 timer_Stop(&bundle->session.timer);
1246 bundle->session.timer.func = bundle_SessionTimeout;
1247 bundle->session.timer.name = "session";
1248 bundle->session.timer.load = secs * SECTICKS;
1249 bundle->session.timer.arg = bundle;
1250 timer_Start(&bundle->session.timer);
1258 timer_Stop(&bundle->session.timer);
1708 /* Regenerate phys_type and adjust idle timer */
1731 * We should really stop the timer and pause if holdsession is set and