Home
last modified time | relevance | path

Searched refs:ro_dst (Results 1 – 25 of 29) sorted by relevance

12

/xnu-11215.1.10/bsd/netinet6/
H A Din6_private.h133 struct sockaddr_in6 ro_dst; member
156 struct sockaddr_in6 ro_dst; member
H A Dudp6_output.c493 in6p->inp_route.ro_dst.sa_family = AF_INET6; in udp6_output()
494 in6p->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in6); in udp6_output()
495 SIN6(&in6p->inp_route.ro_dst)->sin6_addr = *faddr; in udp6_output()
498 SIN6(&in6p->inp_route.ro_dst)->sin6_scope_id = in udp6_output()
H A Dnd6_prproxy.c531 &ro6->ro_dst.sin6_addr, ip6_input_getdstifscope(m), ro6->ro_dst.sin6_scope_id)); in nd6_prproxy_isours()
560 struct in6_addr *__single dst6 = &ro6->ro_dst.sin6_addr; in nd6_proxy_find_fwdroute()
561 uint32_t dst_ifscope = ro6->ro_dst.sin6_scope_id; in nd6_proxy_find_fwdroute()
642 if ((rt = rtalloc1_scoped_locked(SA(&ro6->ro_dst), 0, in nd6_proxy_find_fwdroute()
667 if (fwd_ifp != NULL && (rt = rtalloc1_scoped_locked(SA(&ro6->ro_dst), 1, in nd6_proxy_find_fwdroute()
H A Din6_src.c1220 !in6_are_addr_equal_scoped(&satosin6(&ron->ro_dst)->sin6_addr, in selectroute()
1227 *satosin6(&ron->ro_dst) = *sin6_next; in selectroute()
1278 (satosin6(&ro->ro_dst)->sin6_family != AF_INET6 || in selectroute()
1279 …!in6_are_addr_equal_scoped(&satosin6(&ro->ro_dst)->sin6_addr, dst, ro->ro_rt->rt_ifp->if_index, ds… in selectroute()
1292 SOCKADDR_ZERO(&ro->ro_dst, sizeof(struct sockaddr_in6)); in selectroute()
1293 sa6 = SIN6(&ro->ro_dst); in selectroute()
1299 SA(&((struct route *)ro)->ro_dst), 0, 0, ifscope); in selectroute()
H A Draw_ip6.c755 in6p->in6p_route.ro_dst.sin6_family = AF_INET6; in rip6_output()
756 in6p->in6p_route.ro_dst.sin6_len = sizeof(struct sockaddr_in6); in rip6_output()
757 ((struct sockaddr_in6 *)(void *)&in6p->in6p_route.ro_dst)->sin6_addr = in rip6_output()
H A Din6_gif.c104 struct sockaddr_in6 *dst = SIN6(&sc->gif_ro6.ro_dst); in in6_gif_output()
H A Dip6_forward.c415 dst = SIN6(&ip6forward_rt->ro_dst); in ip6_forward()
H A Dip6_output.c886 htons((uint16_t)ro->ro_dst.sin6_scope_id); in ip6_output_list()
1012 dst = SIN6(&ro->ro_dst); in ip6_output_list()
2309 struct sockaddr_in6 *__single sa6_dst = SIN6(&ro_pmtu->ro_dst); in ip6_getpmtu()
H A Dipsec.c2557 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 Dip6_input.c669 dst6 = SIN6(&rin6->ro_dst); in ip6_input_check_interface()
H A Dnd6_nbr.c1542 SOCKADDR_COPY(&dst_sa, &ro.ro_dst, sizeof(dst_sa)); in nd6_na_output()
H A Din6_mcast.c1943 memcpy(&ro6.ro_dst, gsin6, sizeof(struct sockaddr_in6)); in in6p_lookup_mcast_ifp()
/xnu-11215.1.10/bsd/net/
H A Droute_private.h75 struct sockaddr ro_dst; member
113 struct sockaddr ro_dst; member
H A Dnetsrc.c200 .ro_dst = request->nrq_sin6, in netsrc_ipv6()
H A Ddlil.c10352 dst = SIN(&src_rt.ro_dst); in ifnet_cached_rtlookup_inet()
10359 SOCKADDR_ZERO(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet()
10360 dst->sin_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet()
10389 !IN6_ARE_ADDR_EQUAL(src_ip6, &src_rt.ro_dst.sin6_addr)) { in ifnet_cached_rtlookup_inet6()
10391 if (src_rt.ro_dst.sin6_family != AF_INET6) { in ifnet_cached_rtlookup_inet6()
10392 SOCKADDR_ZERO(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet6()
10393 src_rt.ro_dst.sin6_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet6()
10394 src_rt.ro_dst.sin6_family = AF_INET6; in ifnet_cached_rtlookup_inet6()
10396 src_rt.ro_dst.sin6_scope_id = in6_addr2scopeid(ifp, src_ip6); in ifnet_cached_rtlookup_inet6()
10397 bcopy(src_ip6, &src_rt.ro_dst.sin6_addr, in ifnet_cached_rtlookup_inet6()
[all …]
H A Dif_stf.c606 dst4 = SIN(&sc->sc_ro.ro_dst); in stf_pre_output()
H A Droute.c441 _CASSERT(offsetof(struct route, ro_dst) == in route_init()
442 offsetof(struct route_in6, ro_dst)); in route_init()
909 ro->ro_rt = rtalloc1_common_locked(SA(&ro->ro_dst), 1, ignore, ifscope); in rtalloc_ign_common_locked()
H A Dpf.c4339 dst = (struct sockaddr_in *)(void *)&ro.ro_dst; in pf_calc_mss()
4350 dst6 = (struct sockaddr_in6 *)(void *)&ro6.ro_dst; in pf_calc_mss()
9149 dst = satosin(&ro.ro_dst); in pf_routable()
9155 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_routable()
9190 dst = satosin(&ro.ro_dst); in pf_rtlabel_match()
9196 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_rtlabel_match()
9273 dst = satosin((void *)&ro->ro_dst); in pf_route()
9472 dst = SIN6(&ro->ro_dst); in pf_route6()
/xnu-11215.1.10/bsd/netinet/
H A Din_gif.c104 struct sockaddr_in *__single dst = SIN(&sc->gif_ro.ro_dst); in in_gif_output()
H A Din_pcb.c1651 if (ROUTE_UNUSABLE(ro) || ro->ro_dst.sa_family != AF_INET || in in_pcbladdr()
1652 SIN(&ro->ro_dst)->sin_addr.s_addr != SIN(nam)->sin_addr.s_addr || in in_pcbladdr()
1666 SOCKADDR_ZERO(&ro->ro_dst, sizeof(struct sockaddr_in)); in in_pcbladdr()
1667 ro->ro_dst.sa_family = AF_INET; in in_pcbladdr()
1668 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in in_pcbladdr()
1669 SIN(&ro->ro_dst)->sin_addr = SIN(nam)->sin_addr; in in_pcbladdr()
H A Dip_dummynet.c1631 if (fwa->fwa_dst == SIN(&fwa->fwa_ro->ro_dst)) { /* dst points into ro */ in dummynet_io()
1632 fwa->fwa_dst = SIN(&(pkt->dn_ro.ro_dst)); in dummynet_io()
1647 if (fwa->fwa_dst6 == SIN6(&fwa->fwa_ro6->ro_dst)) { /* dst points into ro */ in dummynet_io()
1648 fwa->fwa_dst6 = SIN6(&(pkt->dn_ro6.ro_dst)); in dummynet_io()
H A Dudp_usrreq.c1950 inp->inp_route.ro_dst.sa_family = AF_INET; in udp_output()
1951 inp->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in); in udp_output()
1952 SIN(&inp->inp_route.ro_dst)->sin_addr = faddr; in udp_output()
H A Dtcp_subr.c2969 ro->ro_dst.sa_family = AF_INET; in tcp_rtlookup()
2970 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in tcp_rtlookup()
2971 SIN(&ro->ro_dst)->sin_addr = inp->inp_faddr; in tcp_rtlookup()
3067 dst6 = SIN6(&ro6->ro_dst); in tcp_rtlookup6()
H A Dip_output.c596 dst = SIN(&ro->ro_dst); in ip_output_list()
919 dst = SIN(&ro->ro_dst); in ip_output_list()
H A Dip_input.c3171 sin = SIN(&ro.ro_dst); in ip_rtaddr()
3529 sin = SIN(&fwd_rt.ro_dst); in ip_forward()

12