| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | nd6_prproxy.c | 495 nd6_prproxy_isours(struct mbuf *m, struct ip6_hdr *ip6, struct route_in6 *ro6, in nd6_prproxy_isours() argument 507 VERIFY(ro6 == NULL); in nd6_prproxy_isours() 514 if (ro6 == NULL) { in nd6_prproxy_isours() 518 if ((rt = ro6->ro_rt) != NULL) { in nd6_prproxy_isours() 522 if (ROUTE_UNUSABLE(ro6)) { in nd6_prproxy_isours() 527 ROUTE_RELEASE(ro6); in nd6_prproxy_isours() 531 &ro6->ro_dst.sin6_addr, ip6_input_getdstifscope(m), ro6->ro_dst.sin6_scope_id)); in nd6_prproxy_isours() 533 rtalloc_scoped_ign((struct route *)ro6, RTF_PRCLONING, ifscope); in nd6_prproxy_isours() 534 if ((rt = ro6->ro_rt) == NULL) { in nd6_prproxy_isours() 558 nd6_proxy_find_fwdroute(struct ifnet *ifp, struct route_in6 *ro6) in nd6_proxy_find_fwdroute() argument [all …]
|
| H A D | ipsec.c | 2562 struct route_in6 *ro6; in ipsec6_update_routecache_and_output() local 2578 ro6 = &sav->sah->sa_route; in ipsec6_update_routecache_and_output() 2579 dst6 = (struct sockaddr_in6 *)(void *)&ro6->ro_dst; in ipsec6_update_routecache_and_output() 2580 if (ro6->ro_rt) { in ipsec6_update_routecache_and_output() 2581 RT_LOCK(ro6->ro_rt); in ipsec6_update_routecache_and_output() 2583 if (ROUTE_UNUSABLE(ro6) || in ipsec6_update_routecache_and_output() 2585 if (ro6->ro_rt != NULL) { in ipsec6_update_routecache_and_output() 2586 RT_UNLOCK(ro6->ro_rt); in ipsec6_update_routecache_and_output() 2588 ROUTE_RELEASE(ro6); in ipsec6_update_routecache_and_output() 2590 if (ro6->ro_rt == 0) { in ipsec6_update_routecache_and_output() [all …]
|
| H A D | in6_mcast.c | 1909 struct route_in6 ro6; in in6p_lookup_mcast_ifp() local 1924 memset(&ro6, 0, sizeof(struct route_in6)); in in6p_lookup_mcast_ifp() 1925 memcpy(&ro6.ro_dst, gsin6, sizeof(struct sockaddr_in6)); in in6p_lookup_mcast_ifp() 1926 rtalloc_scoped_ign((struct route *)&ro6, 0, ifscope); in in6p_lookup_mcast_ifp() 1927 if (ro6.ro_rt != NULL) { in in6p_lookup_mcast_ifp() 1928 ifp = ro6.ro_rt->rt_ifp; in in6p_lookup_mcast_ifp() 1931 ROUTE_RELEASE(&ro6); in in6p_lookup_mcast_ifp()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | tcp_subr.c | 744 struct route_in6 *ro6 = 0; in tcp_respond() local 768 ro6 = &tp->t_inpcb->in6p_route; in tcp_respond() 774 ro6 = &sro6; in tcp_respond() 775 bzero(ro6, sizeof(*ro6)); in tcp_respond() 880 ro6 && ro6->ro_rt ? ro6->ro_rt->rt_ifp : NULL); in tcp_respond() 973 (void) ip6_output(m, NULL, ro6, IPV6_OUTARGS, NULL, in tcp_respond() 986 if (tp != NULL && ro6 != NULL && ro6->ro_rt != NULL && in tcp_respond() 987 (outif = ro6->ro_rt->rt_ifp) != in tcp_respond() 998 if (ro6 == &sro6) { in tcp_respond() 999 ROUTE_RELEASE(ro6); in tcp_respond() [all …]
|
| H A D | tcp_output.c | 2879 #define ro6 route_u_._ro6 in tcp_ip_output() macro 2979 in6p_route_copyout(inp, &ro6); in tcp_ip_output() 3051 inp->in6p_outputopts, &ro6, flags, NULL, NULL, in tcp_ip_output() 3126 } else if (ro6.ro_rt != NULL) { in tcp_ip_output() 3127 outif = ro6.ro_rt->rt_ifp; in tcp_ip_output() 3175 in6p_route_copyin(inp, &ro6); in tcp_ip_output() 3190 #undef ro6 in tcp_ip_output()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 3804 struct route_in6 ro6; in fsw_flow_abort_tcp() local 3823 bzero(&ro6, sizeof(ro6)); in fsw_flow_abort_tcp() 3824 (void) ip6_output(m, NULL, &ro6, IPV6_OUTARGS, in fsw_flow_abort_tcp() 3826 ROUTE_RELEASE(&ro6); in fsw_flow_abort_tcp() 3946 struct route_in6 ro6; in fsw_flow_abort_quic() local 3966 bzero(&ro6, sizeof(ro6)); in fsw_flow_abort_quic() 3967 (void) ip6_output(m, NULL, &ro6, IPV6_OUTARGS, in fsw_flow_abort_quic() 3969 ROUTE_RELEASE(&ro6); in fsw_flow_abort_quic()
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_ipsec.c | 3704 struct route_in6 ro6; in ipsec_output() local 3873 memset(&ro6, 0, sizeof(ro6)); in ipsec_output() 3893 (void) ip6_output(data, NULL, &ro6, flags, NULL, NULL, &ip6oa); in ipsec_output()
|
| H A D | pf.c | 2724 struct route_in6 ro6; in pf_send_tcp() local 2735 bzero(&ro6, sizeof(ro6)); in pf_send_tcp() 2736 ip6_output(m, NULL, &ro6, 0, NULL, NULL, NULL); in pf_send_tcp() 2737 ROUTE_RELEASE(&ro6); in pf_send_tcp() 4234 struct route_in6 ro6; in pf_calc_mss() local 4254 bzero(&ro6, sizeof(ro6)); in pf_calc_mss() 4255 dst6 = (struct sockaddr_in6 *)(void *)&ro6.ro_dst; in pf_calc_mss() 4260 rt = ro6.ro_rt; in pf_calc_mss()
|