Searched refs:nh_expire (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/sys/net/route/
H A Droute_temporal.c55 uint32_t nh_expire = nhop_get_expire(nh); local
58 if (nh_expire == 0)
61 if (nh_expire <= time_uptime)
70 if (*next_callout == 0 || *next_callout > nh_expire)
71 *next_callout = nh_expire;
79 * the nh_expire time for the remaining temporal routes.
127 uint32_t nh_expire = nhop_get_expire(nh); local
131 if (rnh->next_expire == 0 || rnh->next_expire > nh_expire) {
138 seconds = (nh_expire - time_uptime);
144 rnh->next_expire = nh_expire;
[all...]
H A Dnhop_var.h79 uint32_t nh_expire; /* path expiration time */ member in struct:nhop_priv
H A Dnhop_ctl.c240 uint32_t nh_expire = 0; local
244 nh_expire = info->rti_rmx->rmx_expire - time_second + time_uptime;
245 nhop_set_expire(nh, nh_expire);
1023 return (nh->nh_priv->nh_expire);
1030 nh->nh_priv->nh_expire = expire;
/freebsd-current/sys/netlink/route/
H A Drt.c251 uint32_t nh_expire = nhop_get_expire(nh); local
252 if (nh_expire > 0)
253 nlattr_add_u32(nw, NL_RTA_EXPIRES, nh_expire - time_uptime);

Completed in 186 milliseconds