| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | in6_private.h | 133 struct sockaddr_in6 ro_dst; member 156 struct sockaddr_in6 ro_dst; member
|
| H A D | udp6_output.c | 517 in6p->inp_route.ro_dst.sa_family = AF_INET6; in udp6_output() 518 in6p->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in6); in udp6_output() 519 SIN6(&in6p->inp_route.ro_dst)->sin6_addr = *faddr; in udp6_output() 522 SIN6(&in6p->inp_route.ro_dst)->sin6_scope_id = in udp6_output()
|
| H A D | nd6_prproxy.c | 532 &ro6->ro_dst.sin6_addr, ip6_input_getdstifscope(m), ro6->ro_dst.sin6_scope_id)); in nd6_prproxy_isours() 561 struct in6_addr *__single dst6 = &ro6->ro_dst.sin6_addr; in nd6_proxy_find_fwdroute() 562 uint32_t dst_ifscope = ro6->ro_dst.sin6_scope_id; in nd6_proxy_find_fwdroute() 643 if ((rt = rtalloc1_scoped_locked(SA(&ro6->ro_dst), 0, in nd6_proxy_find_fwdroute() 668 if (fwd_ifp != NULL && (rt = rtalloc1_scoped_locked(SA(&ro6->ro_dst), 1, in nd6_proxy_find_fwdroute()
|
| H A D | in6_src.c | 1221 !in6_are_addr_equal_scoped(&satosin6(&ron->ro_dst)->sin6_addr, in selectroute() 1228 *satosin6(&ron->ro_dst) = *sin6_next; in selectroute() 1279 (satosin6(&ro->ro_dst)->sin6_family != AF_INET6 || in selectroute() 1280 …!in6_are_addr_equal_scoped(&satosin6(&ro->ro_dst)->sin6_addr, dst, ro->ro_rt->rt_ifp->if_index, ds… in selectroute() 1293 SOCKADDR_ZERO(&ro->ro_dst, sizeof(struct sockaddr_in6)); in selectroute() 1294 sa6 = SIN6(&ro->ro_dst); in selectroute() 1300 SA(&((struct route *)ro)->ro_dst), 0, 0, ifscope); in selectroute()
|
| H A D | raw_ip6.c | 761 in6p->in6p_route.ro_dst.sin6_family = AF_INET6; in rip6_output() 762 in6p->in6p_route.ro_dst.sin6_len = sizeof(struct sockaddr_in6); in rip6_output() 763 ((struct sockaddr_in6 *)(void *)&in6p->in6p_route.ro_dst)->sin6_addr = in rip6_output()
|
| H A D | in6_gif.c | 104 struct sockaddr_in6 *dst = SIN6(&sc->gif_ro6.ro_dst); in in6_gif_output()
|
| H A D | ip6_forward.c | 415 dst = SIN6(&ip6forward_rt->ro_dst); in ip6_forward()
|
| H A D | ip6_output.c | 904 htons((uint16_t)ro->ro_dst.sin6_scope_id); in ip6_output_list() 1030 dst = SIN6(&ro->ro_dst); in ip6_output_list() 2344 struct sockaddr_in6 *__single sa6_dst = SIN6(&ro_pmtu->ro_dst); in ip6_getpmtu()
|
| H A D | ipsec.c | 2557 dst6 = SIN6(&ro6->ro_dst); in ipsec6_update_routecache_and_output() 3226 dst4 = SIN(&ro4->ro_dst); in ipsec4_output_internal() 4099 dst4 = SIN(&ro4->ro_dst); in ipsec6_output_tunnel_internal() 4194 dst6 = SIN6(&ro6->ro_dst); in ipsec6_output_tunnel_internal()
|
| H A D | ip6_input.c | 670 dst6 = SIN6(&rin6->ro_dst); in ip6_input_check_interface()
|
| H A D | nd6_nbr.c | 1545 SOCKADDR_COPY(&dst_sa, &ro.ro_dst, sizeof(dst_sa)); in nd6_na_output()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | route_private.h | 75 struct sockaddr ro_dst; member 113 struct sockaddr ro_dst; member
|
| H A D | netsrc.c | 200 .ro_dst = request->nrq_sin6, in netsrc_ipv6()
|
| H A D | dlil.c | 6227 dst = SIN(&src_rt.ro_dst); in ifnet_cached_rtlookup_inet() 6234 SOCKADDR_ZERO(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet() 6235 dst->sin_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet() 6264 !IN6_ARE_ADDR_EQUAL(src_ip6, &src_rt.ro_dst.sin6_addr)) { in ifnet_cached_rtlookup_inet6() 6266 if (src_rt.ro_dst.sin6_family != AF_INET6) { in ifnet_cached_rtlookup_inet6() 6267 SOCKADDR_ZERO(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet6() 6268 src_rt.ro_dst.sin6_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet6() 6269 src_rt.ro_dst.sin6_family = AF_INET6; in ifnet_cached_rtlookup_inet6() 6271 src_rt.ro_dst.sin6_scope_id = in6_addr2scopeid(ifp, src_ip6); in ifnet_cached_rtlookup_inet6() 6272 bcopy(src_ip6, &src_rt.ro_dst.sin6_addr, in ifnet_cached_rtlookup_inet6() [all …]
|
| H A D | if_stf.c | 606 dst4 = SIN(&sc->sc_ro.ro_dst); in stf_pre_output()
|
| H A D | route.c | 495 static_assert(offsetof(struct route, ro_dst) == offsetof(struct route_in6, ro_dst)); in route_init() 962 ro->ro_rt = rtalloc1_common_locked(SA(&ro->ro_dst), 1, ignore, ifscope); in rtalloc_ign_common_locked()
|
| H A D | pf.c | 4342 dst = (struct sockaddr_in *)(void *)&ro.ro_dst; in pf_calc_mss() 4353 dst6 = (struct sockaddr_in6 *)(void *)&ro6.ro_dst; in pf_calc_mss() 9152 dst = satosin(&ro.ro_dst); in pf_routable() 9158 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_routable() 9193 dst = satosin(&ro.ro_dst); in pf_rtlabel_match() 9199 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_rtlabel_match() 9279 dst = satosin((void *)&ro->ro_dst); in pf_route() 9488 dst = SIN6(&ro->ro_dst); in pf_route6()
|
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | in_gif.c | 104 struct sockaddr_in *__single dst = SIN(&sc->gif_ro.ro_dst); in in_gif_output()
|
| H A D | in_pcb.c | 1607 if (ROUTE_UNUSABLE(ro) || ro->ro_dst.sa_family != AF_INET || in in_pcbladdr() 1608 SIN(&ro->ro_dst)->sin_addr.s_addr != SIN(nam)->sin_addr.s_addr || in in_pcbladdr() 1622 SOCKADDR_ZERO(&ro->ro_dst, sizeof(struct sockaddr_in)); in in_pcbladdr() 1623 ro->ro_dst.sa_family = AF_INET; in in_pcbladdr() 1624 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in in_pcbladdr() 1625 SIN(&ro->ro_dst)->sin_addr = SIN(nam)->sin_addr; in in_pcbladdr()
|
| H A D | ip_dummynet.c | 1755 if (fwa->fwa_dst == SIN(&fwa->fwa_ro->ro_dst)) { /* dst points into ro */ in dummynet_io() 1756 fwa->fwa_dst = SIN(&(pkt->dn_ro.ro_dst)); in dummynet_io() 1771 if (fwa->fwa_dst6 == SIN6(&fwa->fwa_ro6->ro_dst)) { /* dst points into ro */ in dummynet_io() 1772 fwa->fwa_dst6 = SIN6(&(pkt->dn_ro6.ro_dst)); in dummynet_io()
|
| H A D | udp_usrreq.c | 2008 inp->inp_route.ro_dst.sa_family = AF_INET; in udp_output() 2009 inp->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in); in udp_output() 2010 SIN(&inp->inp_route.ro_dst)->sin_addr = faddr; in udp_output()
|
| H A D | tcp_subr.c | 3264 ro->ro_dst.sa_family = AF_INET; in tcp_rtlookup() 3265 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in tcp_rtlookup() 3266 SIN(&ro->ro_dst)->sin_addr = inp->inp_faddr; in tcp_rtlookup() 3367 dst6 = SIN6(&ro6->ro_dst); in tcp_rtlookup6()
|
| H A D | ip_output.c | 602 dst = SIN(&ro->ro_dst); in ip_output_list() 937 dst = SIN(&ro->ro_dst); in ip_output_list()
|
| H A D | ip_input.c | 2768 sin = SIN(&ro.ro_dst); in ip_rtaddr() 3126 sin = SIN(&fwd_rt.ro_dst); in ip_forward()
|
| H A D | in_mcast.c | 2064 memcpy(&ro.ro_dst, gsin, sizeof(struct sockaddr_in)); in inp_lookup_mcast_ifp()
|