Lines Matching refs:rc_rt
284 rt_routemsg(rc->rc_cmd, rc->rc_rt, nh, fibnum); in report_route_event()
797 rc->rc_rt = (struct rtentry *) rnh->rnh_matchaddr( in handle_rtm_get()
800 rc->rc_rt = (struct rtentry *) rnh->rnh_lookup( in handle_rtm_get()
804 if (rc->rc_rt == NULL) { in handle_rtm_get()
809 nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]); in handle_rtm_get()
841 rc->rc_rt = (struct rtentry *)rnh->rnh_matchaddr( in handle_rtm_get()
843 if (rc->rc_rt == NULL) { in handle_rtm_get()
847 nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]); in handle_rtm_get()
854 rc->rc_nh_weight = rc->rc_rt->rt_weight; in handle_rtm_get()
983 export_rtaddrs(rc->rc_rt, &sa_dst.sa, &sa_mask.sa); in update_rtm_from_rc()
986 info->rti_info[RTAX_NETMASK] = rt_is_host(rc->rc_rt) ? NULL : &sa_mask.sa; in update_rtm_from_rc()
1013 rtm->rtm_flags = rc->rc_rt->rte_flags | nhop_get_rtflags(nh); in update_rtm_from_rc()
1017 rt_getmetrics(rc->rc_rt, nh, &rtm->rtm_rmx); in update_rtm_from_rc()
1178 rtm->rtm_flags = rc.rc_rt->rte_flags | nhop_get_rtflags(nh); in rts_send()
1206 if (!rt_is_exportable(rc.rc_rt, curthread->td_ucred)) in rts_send()