Lines Matching defs:out
446 * For AF_INET, always zero out the embedded scope ID. If this is
472 * If we catch a process adding a circular route with a /32 from the routing socket, we error it out instead of
510 * figure out what interface to use (with
512 * it shouldn't matter if rtrequest can't figure out
755 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out)
763 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e;
774 if (out->rt_rmx.rmx_expire > 0) {
778 out->base_calendartime +=
780 out->base_calendartime,
781 curr_uptime, out->base_uptime);
782 rt_setexpire(out,
783 out->rt_rmx.rmx_expire -
784 out->base_calendartime +
785 out->base_uptime);
787 rt_setexpire(out, 0);
790 VERIFY(out->rt_expire == 0 || out->rt_rmx.rmx_expire != 0);
791 VERIFY(out->rt_expire != 0 || out->rt_rmx.rmx_expire == 0);
795 rt_getmetrics(struct rtentry *in, struct rt_metrics *out)
803 *out = in->rt_rmx;
815 out->rmx_expire = in->base_calendartime +
818 out->rmx_expire = 0;