| /xnu-8020.101.4/bsd/netinet6/ |
| H A D | udp6_output.c | 479 in6p->inp_route.ro_dst.sa_family = AF_INET6; in udp6_output() 480 in6p->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in6); in udp6_output() 481 ((struct sockaddr_in6 *)(void *)&in6p->inp_route.ro_dst)->sin6_addr = in udp6_output() 485 ((struct sockaddr_in6 *)(void *)&in6p->inp_route.ro_dst)->sin6_scope_id = in udp6_output()
|
| H A D | nd6_prproxy.c | 531 &ro6->ro_dst.sin6_addr, ip6_input_getdstifscope(m), ro6->ro_dst.sin6_scope_id)); in nd6_prproxy_isours() 560 struct in6_addr *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 D | in6_src.c | 1128 !in6_are_addr_equal_scoped(&satosin6(&ron->ro_dst)->sin6_addr, in selectroute() 1135 *satosin6(&ron->ro_dst) = *sin6_next; in selectroute() 1186 (satosin6(&ro->ro_dst)->sin6_family != AF_INET6 || in selectroute() 1187 …!in6_are_addr_equal_scoped(&satosin6(&ro->ro_dst)->sin6_addr, dst, ro->ro_rt->rt_ifp->if_index, ds… in selectroute() 1200 bzero(&ro->ro_dst, sizeof(struct sockaddr_in6)); in selectroute() 1201 sa6 = (struct sockaddr_in6 *)&ro->ro_dst; in selectroute() 1207 &((struct route *)ro)->ro_dst, 0, 0, ifscope); in selectroute()
|
| H A D | in6.h | 490 struct sockaddr_in6 ro_dst; member 516 struct sockaddr_in6 ro_dst; member
|
| H A D | raw_ip6.c | 737 in6p->in6p_route.ro_dst.sin6_family = AF_INET6; in rip6_output() 738 in6p->in6p_route.ro_dst.sin6_len = sizeof(struct sockaddr_in6); in rip6_output() 739 ((struct sockaddr_in6 *)(void *)&in6p->in6p_route.ro_dst)->sin6_addr = in rip6_output()
|
| H A D | in6_gif.c | 102 struct sockaddr_in6 *dst = (struct sockaddr_in6 *)&sc->gif_ro6.ro_dst; in in6_gif_output()
|
| H A D | ip6_forward.c | 412 dst = (struct sockaddr_in6 *)&ip6forward_rt->ro_dst; in ip6_forward()
|
| H A D | ip6_output.c | 872 htons((uint16_t)ro->ro_dst.sin6_scope_id); in ip6_output_list() 995 dst = SIN6(&ro->ro_dst); in ip6_output_list() 1736 pfctlinput2(PRC_MSGSIZE, SA(&ro_pmtu->ro_dst), (void *)&ip6cp); in ip6_fragment_packet() 2290 struct sockaddr_in6 *sa6_dst = SIN6(&ro_pmtu->ro_dst); in ip6_getpmtu()
|
| H A D | ipsec.c | 2569 dst6 = (struct sockaddr_in6 *)(void *)&ro6->ro_dst; in ipsec6_update_routecache_and_output() 3238 dst4 = (struct sockaddr_in *)(void *)&ro4->ro_dst; in ipsec4_output_internal() 3819 dst4 = (struct sockaddr_in *)(void *)&ro4->ro_dst; in ipsec6_output_tunnel_internal() 3913 dst6 = (struct sockaddr_in6 *)(void *)&ro6->ro_dst; in ipsec6_output_tunnel_internal()
|
| H A D | ip6_input.c | 666 dst6 = SIN6(&rin6->ro_dst); in ip6_input_check_interface()
|
| H A D | nd6_nbr.c | 1496 bcopy(&dst_sa, &ro.ro_dst, sizeof(dst_sa)); in nd6_na_output()
|
| H A D | in6_mcast.c | 1913 memcpy(&ro6.ro_dst, gsin6, sizeof(struct sockaddr_in6)); in in6p_lookup_mcast_ifp()
|
| /xnu-8020.101.4/bsd/net/ |
| H A D | route.h | 99 struct sockaddr ro_dst; member 140 struct sockaddr ro_dst; member
|
| H A D | netsrc.c | 200 .ro_dst = request->nrq_sin6, in netsrc_ipv6()
|
| H A D | dlil.c | 10136 dst = (struct sockaddr_in *)(void *)(&src_rt.ro_dst); in ifnet_cached_rtlookup_inet() 10143 bzero(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet() 10144 dst->sin_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet() 10173 !IN6_ARE_ADDR_EQUAL(src_ip6, &src_rt.ro_dst.sin6_addr)) { in ifnet_cached_rtlookup_inet6() 10175 if (src_rt.ro_dst.sin6_family != AF_INET6) { in ifnet_cached_rtlookup_inet6() 10176 bzero(&src_rt.ro_dst, sizeof(src_rt.ro_dst)); in ifnet_cached_rtlookup_inet6() 10177 src_rt.ro_dst.sin6_len = sizeof(src_rt.ro_dst); in ifnet_cached_rtlookup_inet6() 10178 src_rt.ro_dst.sin6_family = AF_INET6; in ifnet_cached_rtlookup_inet6() 10180 src_rt.ro_dst.sin6_scope_id = in6_addr2scopeid(ifp, src_ip6); in ifnet_cached_rtlookup_inet6() 10181 bcopy(src_ip6, &src_rt.ro_dst.sin6_addr, in ifnet_cached_rtlookup_inet6() [all …]
|
| H A D | if_stf.c | 603 dst4 = (struct sockaddr_in *)(void *)&sc->sc_ro.ro_dst; in stf_pre_output()
|
| H A D | route.c | 436 _CASSERT(offsetof(struct route, ro_dst) == in route_init() 437 offsetof(struct route_in6, ro_dst)); in route_init() 903 ro->ro_rt = rtalloc1_common_locked(&ro->ro_dst, 1, ignore, ifscope); in rtalloc_ign_common_locked()
|
| H A D | pf.c | 4244 dst = (struct sockaddr_in *)(void *)&ro.ro_dst; in pf_calc_mss() 4255 dst6 = (struct sockaddr_in6 *)(void *)&ro6.ro_dst; in pf_calc_mss() 8985 dst = satosin(&ro.ro_dst); in pf_routable() 8991 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_routable() 9026 dst = satosin(&ro.ro_dst); in pf_rtlabel_match() 9032 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in pf_rtlabel_match() 9109 dst = satosin((void *)&ro->ro_dst); in pf_route() 9308 dst = (struct sockaddr_in6 *)&ro->ro_dst; in pf_route6()
|
| /xnu-8020.101.4/bsd/netinet/ |
| H A D | in_gif.c | 103 (void *)&sc->gif_ro.ro_dst; in in_gif_output()
|
| H A D | in_pcb.c | 1494 if (ROUTE_UNUSABLE(ro) || ro->ro_dst.sa_family != AF_INET || in in_pcbladdr() 1495 SIN(&ro->ro_dst)->sin_addr.s_addr != SIN(nam)->sin_addr.s_addr || in in_pcbladdr() 1509 bzero(&ro->ro_dst, sizeof(struct sockaddr_in)); in in_pcbladdr() 1510 ro->ro_dst.sa_family = AF_INET; in in_pcbladdr() 1511 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in in_pcbladdr() 1512 SIN(&ro->ro_dst)->sin_addr = SIN(nam)->sin_addr; in in_pcbladdr()
|
| H A D | ip_dummynet.c | 1625 … if (fwa->fwa_dst == (struct sockaddr_in *)(void *)&fwa->fwa_ro->ro_dst) { /* dst points into ro */ in dummynet_io() 1626 fwa->fwa_dst = (struct sockaddr_in *)(void *)&(pkt->dn_ro.ro_dst); in dummynet_io() 1641 if (fwa->fwa_dst6 == (struct sockaddr_in6 *)&fwa->fwa_ro6->ro_dst) { /* dst points into ro */ in dummynet_io() 1642 fwa->fwa_dst6 = (struct sockaddr_in6 *)&(pkt->dn_ro6.ro_dst); in dummynet_io()
|
| H A D | udp_usrreq.c | 1885 inp->inp_route.ro_dst.sa_family = AF_INET; in udp_output() 1886 inp->inp_route.ro_dst.sa_len = sizeof(struct sockaddr_in); in udp_output() 1887 ((struct sockaddr_in *)(void *)&inp->inp_route.ro_dst)->sin_addr = in udp_output()
|
| H A D | tcp_subr.c | 2949 ro->ro_dst.sa_family = AF_INET; in tcp_rtlookup() 2950 ro->ro_dst.sa_len = sizeof(struct sockaddr_in); in tcp_rtlookup() 2951 ((struct sockaddr_in *)(void *)&ro->ro_dst)->sin_addr = in tcp_rtlookup() 3048 dst6 = (struct sockaddr_in6 *)&ro6->ro_dst; in tcp_rtlookup6()
|
| H A D | ip_output.c | 576 dst = SIN(&ro->ro_dst); in ip_output_list() 892 dst = SIN(&ro->ro_dst); in ip_output_list()
|
| H A D | ip_input.c | 3128 sin = SIN(&ro.ro_dst); in ip_rtaddr() 3477 sin = SIN(&fwd_rt.ro_dst); in ip_forward()
|