Lines Matching refs:rtime
1364 unsigned long rtime = ntohl(ra_msg->retrans_timer); in ndisc_router_discovery() local
1366 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/HZ) { in ndisc_router_discovery()
1367 rtime = (rtime*HZ)/1000; in ndisc_router_discovery()
1368 if (rtime < HZ/100) in ndisc_router_discovery()
1369 rtime = HZ/100; in ndisc_router_discovery()
1370 NEIGH_VAR_SET(in6_dev->nd_parms, RETRANS_TIME, rtime); in ndisc_router_discovery()
1375 rtime = ntohl(ra_msg->reachable_time); in ndisc_router_discovery()
1376 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/(3*HZ)) { in ndisc_router_discovery()
1377 rtime = (rtime*HZ)/1000; in ndisc_router_discovery()
1379 if (rtime < HZ/10) in ndisc_router_discovery()
1380 rtime = HZ/10; in ndisc_router_discovery()
1382 if (rtime != NEIGH_VAR(in6_dev->nd_parms, BASE_REACHABLE_TIME)) { in ndisc_router_discovery()
1384 BASE_REACHABLE_TIME, rtime); in ndisc_router_discovery()
1386 GC_STALETIME, 3 * rtime); in ndisc_router_discovery()
1387 in6_dev->nd_parms->reachable_time = neigh_rand_reach_time(rtime); in ndisc_router_discovery()