Searched refs:src_rt (Results 1 – 1 of 1) sorted by relevance
10379 struct route src_rt; in ifnet_cached_rtlookup_inet() local10382 dst = (struct sockaddr_in *)(void *)(&src_rt.ro_dst); in ifnet_cached_rtlookup_inet()10384 ifp_src_route_copyout(ifp, &src_rt); in ifnet_cached_rtlookup_inet()10386 if (ROUTE_UNUSABLE(&src_rt) || src_ip.s_addr != dst->sin_addr.s_addr) { in ifnet_cached_rtlookup_inet()10387 ROUTE_RELEASE(&src_rt); in ifnet_cached_rtlookup_inet()10389 bzero(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet()10390 dst->sin_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet()10395 VERIFY(src_rt.ro_rt == NULL); in ifnet_cached_rtlookup_inet()10396 src_rt.ro_rt = rtalloc1_scoped((struct sockaddr *)dst, in ifnet_cached_rtlookup_inet()10399 if (src_rt.ro_rt != NULL) { in ifnet_cached_rtlookup_inet()[all …]