Lines Matching refs:hz
318 static int hz; in print_route() local
522 if (!hz) in print_route()
523 hz = get_user_hz(); in print_route()
525 fprintf(fp, " expires %dsec", ci->rta_expires/hz); in print_route()
534 fprintf(fp, " age %dsec", ci->rta_lastuse/hz); in print_route()
547 if (!hz) in print_route()
548 hz = get_user_hz(); in print_route()
552 fprintf(fp, " expires %dsec", ci->rta_expires/hz); in print_route()
561 fprintf(fp, " age %dsec", ci->rta_lastuse/hz); in print_route()
836 static int hz; in iproute_modify() local
912 if (!hz) in iproute_modify()
913 hz = get_user_hz(); in iproute_modify()
914 addattr32(&req.n, sizeof(req), RTA_EXPIRES, expires*hz); in iproute_modify()