Lines Matching refs:ndpr
105 static void in6_init_address_ltimes(struct nd_prefix *ndpr,
2046 in6_init_prefix_ltimes(struct nd_prefix *ndpr)
2052 if (ndpr->ndpr_pltime > ndpr->ndpr_vltime) {
2055 (u_int)ndpr->ndpr_pltime, (u_int)ndpr->ndpr_vltime));
2058 if (ndpr->ndpr_pltime == ND6_INFINITE_LIFETIME)
2059 ndpr->ndpr_preferred = 0;
2061 ndpr->ndpr_preferred = timenow.tv_sec + ndpr->ndpr_pltime;
2062 if (ndpr->ndpr_vltime == ND6_INFINITE_LIFETIME)
2063 ndpr->ndpr_expire = 0;
2065 ndpr->ndpr_expire = timenow.tv_sec + ndpr->ndpr_vltime;