Searched refs:nh_expire (Results 1 – 4 of 4) sorted by relevance
55 uint32_t nh_expire = nhop_get_expire(nh); in expire_route() local58 if (nh_expire == 0) in expire_route()61 if (nh_expire <= time_uptime) in expire_route()70 if (*next_callout == 0 || *next_callout > nh_expire) in expire_route()71 *next_callout = nh_expire; in expire_route()127 uint32_t nh_expire = nhop_get_expire(nh); in tmproutes_update() local131 if (rnh->next_expire == 0 || rnh->next_expire > nh_expire) { in tmproutes_update()138 seconds = (nh_expire - time_uptime); in tmproutes_update()144 rnh->next_expire = nh_expire; in tmproutes_update()
79 uint32_t nh_expire; /* path expiration time */ member
240 uint32_t nh_expire = 0; in set_nhop_expire_from_info() local244 nh_expire = info->rti_rmx->rmx_expire - time_second + time_uptime; in set_nhop_expire_from_info()245 nhop_set_expire(nh, nh_expire); in set_nhop_expire_from_info()1023 return (nh->nh_priv->nh_expire); in nhop_get_expire()1030 nh->nh_priv->nh_expire = expire; in nhop_set_expire()
251 uint32_t nh_expire = nhop_get_expire(nh); in dump_rc_nhop() local 252 if (nh_expire > 0) in dump_rc_nhop() 253 nlattr_add_u32(nw, NL_RTA_EXPIRES, nh_expire - time_uptime); in dump_rc_nhop()