/src/sys/net/npf/ |
npf_conndb.c | 376 int wtime = npf->worker_wait_time; local in function:gc_freq_tune 377 wtime = n ? (wtime >> 1) : (wtime << 1); 378 return MAX(MIN(wtime, params->interval_max), params->interval_min);
|
/src/sbin/routed/ |
main.c | 108 struct timeval wtime, t2; local in function:main 133 wtime.tv_sec = 0; 370 || t2.tv_sec > wtime.tv_sec + 5) { 376 dt -= wtime.tv_sec; 397 timevalsub(&wtime, &ifinit_timer, &now); 398 if (wtime.tv_sec <= 0) { 399 wtime.tv_sec = 0; 415 if (timercmp(&t2, &wtime, <)) 416 wtime = t2; 446 if (timercmp(&t2, &wtime, <)) [all...] |
/src/sbin/routed/rtquery/ |
rtquery.c | 93 #define WTIME 15 /* Time to wait for all responses */ 116 int wtime = WTIME; variable in typeref:typename:int 171 wtime = (int)strtoul(optarg, &p, 0); 173 || wtime <= 0) 318 "usage: rtquery [-np1] [-r tgt_rt] [-w wtime]" 501 if (sent.tv_sec + wtime <= now.tv_sec)
|
/src/sys/net/ |
if_pppoe.c | 1933 int wtime; local in function:pppoe_tls 1948 wtime = PPPOE_RECON_FAST * sc->sc_sppp.pp_auth_failures; 1949 if (wtime > PPPOE_SLOW_RETRY) 1950 wtime = PPPOE_SLOW_RETRY; 1952 wtime = PPPOE_RECON_IMMEDIATE; 1954 callout_schedule(&sc->sc_timeout, wtime);
|