Home
last modified time | relevance | path

Searched refs:rtcache_getdst (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/sys/netatalk/
H A Dddp_output.c129 const struct sockaddr_at *dst = satocsat(rtcache_getdst(ro)); in ddp_route()
177 if (ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) >= in ddp_route()
179 ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) <= in ddp_route()
182 satocsat(rtcache_getdst(ro))->sat_addr.s_node; in ddp_route()
188 if (ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) >= in ddp_route()
190 ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) <= in ddp_route()
192 gate = *satocsat(rtcache_getdst(ro)); in ddp_route()
203 if (loopback && rtcache_getdst(ro)->sa_family == AF_APPLETALK) { in ddp_route()
209 looutput(lo0ifp, copym, rtcache_getdst(ro), NULL); in ddp_route()
H A Dddp_input.c271 satocsat(rtcache_getdst(&forwro))->sat_addr.s_net && in ddp_input()
H A Dddp_usrreq.c233 cdst = satocsat(rtcache_getdst(ro)); in at_pcbconnect()
/netbsd-src/sys/netinet6/
H A Dip6_forward.c227 dst = satocsin6(rtcache_getdst(ro)); in ip6_forward()
313 nd6_is_addr_neighbor(satocsin6(rtcache_getdst(ro)), in ip6_forward()
H A Din6_pcb.c689 rtcache_getdst(&inp->inp_route); in in6pcb_notify()
986 cdst.sa = rtcache_getdst(ro); in in6pcb_rtentry()
H A Din6_gif.c511 dst6 = satocsin6(rtcache_getdst(ro_pc)); in in6_gif_ctlinput()
H A Dsctp6_usrreq.c1081 sin_a6 = (const struct sockaddr_in6 *)rtcache_getdst(&net->ro); in sctp6_getaddr()
1155 sin_a6 = (const struct sockaddr_in6 *)rtcache_getdst(&net->ro); in sctp6_peeraddr()
H A Dip6_flow.c347 dst = rtcache_getdst(&ip6f->ip6f_ro); in ip6flow_fastforward()
H A Dip6_output.c621 dst = satocsin6(rtcache_getdst(ro)); in ip6_output()
828 rtcache_getdst(ro_pmtu), &ip6cp); in ip6_output()
H A Dip6_mroute.c1591 satocsin6(rtcache_getdst(&ro))); in phyint_send()
/netbsd-src/sys/netinet/
H A Dsctp_usrreq.c1752 (rtcache_getdst(&net->ro)->sa_family == AF_INET6)) { in sctp_optsget()
1754 } else if (rtcache_getdst(&net->ro)->sa_family == AF_INET) { in sctp_optsget()
1807 family = rtcache_getdst(&net->ro)->sa_family; in sctp_optsget()
1829 in6_sin_2_v4mapsin6((const struct sockaddr_in *) rtcache_getdst(&net->ro), in sctp_optsget()
1832 memcpy(sas, rtcache_getdst(&net->ro), cpsz); in sctp_optsget()
2151 rtcache_getdst(&stcb->asoc.primary_destination->ro), in sctp_optsget()
2152 (rtcache_getdst(&stcb->asoc.primary_destination->ro))->sa_len); in sctp_optsget()
2363 rtcache_getdst(&stcb->asoc.primary_destination->ro), in sctp_optsget()
2364 (rtcache_getdst(&stcb->asoc.primary_destination->ro))->sa_len); in sctp_optsget()
3650 prim = (const struct sockaddr *)rtcache_getdst( in sctp_accept()
[all...]
H A Dsctputil.c1929 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_assoc_change()
2015 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_peer_addr_change()
2109 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_send_failed()
2181 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_adaption_layer()
2251 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_partial_delivery_indication()
2330 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_shutdown_event()
2426 to = rtcache_getdst(&stcb->asoc.primary_destination->ro); in sctp_notify_stream_reset()
2486 rtcache_getdst(&net->ro), error); in sctp_ulp_notify()
2494 rtcache_getdst(&net->ro), error); in sctp_ulp_notify()
2502 rtcache_getdst(&net->ro), error); in sctp_ulp_notify()
H A Dsctp_pcb.c356 if (sctp_cmpaddr(from, rtcache_getdst(&net->ro))) { in sctp_tcb_special_locate()
547 if (sctp_cmpaddr(remote, rtcache_getdst(&net->ro))) { in sctp_findassociation_ep_addr()
577 if (sctp_cmpaddr(remote, rtcache_getdst(&net->ro))) { in sctp_findassociation_ep_addr()
2266 if (sctp_cmpaddr(addr, rtcache_getdst(&net->ro))) in sctp_findnet()
2879 if (rtcache_getdst(&net->ro)->sa_family != remaddr->sa_family) { in sctp_del_remote_addr()
2882 if (sctp_cmpaddr(rtcache_getdst(&net->ro), remaddr)) { in sctp_del_remote_addr()
3477 rtcache_getdst(&net->ro))) { in sctp_select_primary_destination()
3542 rtcache_getdst(&stcb->asoc.primary_destination->ro)) == 0) { in sctp_del_local_addr_ep()
H A Dsctp_output.c1147 to = satocsin(rtcache_getdst(ro)); in sctp_ipv4_source_address_selection()
1891 memcpy(&to, rtcache_getdst(ro), sizeof(struct sockaddr)); in sctp_ipv6_source_address_selection()
2598 sctp_print_address (rtcache_getdst(&net->ro)); in sctp_send_initiate()
2601 if (rtcache_getdst(&net->ro)->sa_family == AF_INET6) { in sctp_send_initiate()
2605 if (IN6_IS_ADDR_LINKLOCAL((const struct in6_addr *) rtcache_getdst(&net->ro)->sa_data)) in sctp_send_initiate()
2882 rtcache_getdst(&net->ro), m, 0, 0, NULL, 0); in sctp_send_initiate()
3521 if (rtcache_getdst(&lnet->ro)->sa_family == AF_INET6) { in sctp_send_initiate_ack()
3522 if (IN6_IS_ADDR_LINKLOCAL((const struct in6_addr *) rtcache_getdst(&lnet->ro)->sa_data)) { in sctp_send_initiate_ack()
3532 to = rtcache_getdst(&net->ro); in sctp_send_initiate_ack()
5602 rtcache_getdst(
[all...]
H A Dip_flow.c351 dst = rtcache_getdst(&ipf->ipf_ro); in ipflow_fastforward()
H A Din_pcb.c908 info.rti_info[RTAX_DST] = rtcache_getdst(&inp->inp_route); in inpcb_losing()
H A Dsctp_asconf.c1578 if ((rtcache_getdst(&net->ro))->sa_family != in sctp_is_scopeid_in_nets()
1581 net6 = (const struct sockaddr_in6 *)rtcache_getdst(&net->ro); in sctp_is_scopeid_in_nets()
H A Dsctp_indata.c417 to = rtcache_getdst(&chk->whoTo->ro); in sctp_deliver_data()
639 to = rtcache_getdst(&chk->whoTo->ro); in sctp_service_reassembly()
1939 to = rtcache_getdst(&net->ro); in sctp_process_a_data_chunk()
H A Dip_output.c296 dst = satocsin(rtcache_getdst(ro)); in ip_output()
/netbsd-src/sys/net/
H A Droute.c2021 if (rtcache_getdst(ro) == NULL) in _rtcache_init()
2023 rt = rtalloc1(rtcache_getdst(ro), flag); in _rtcache_init()
2073 if (rtcache_getdst(old_ro) == NULL) in rtcache_copy()
2075 ret = rtcache_setdst(new_ro, rtcache_getdst(old_ro)); in rtcache_copy()
2183 odst = rtcache_getdst(ro); in rtcache_lookup2()
H A Droute.h513 rtcache_getdst(const struct route *ro) in rtcache_getdst() function
/netbsd-src/sys/netipsec/
H A Dipsecif.c1039 dst6 = satocsin6(rtcache_getdst(ro_pc)); in ipsecif6_ctlinput()
H A Dkey.c8501 sa = rtcache_getdst(ro); in key_sa_routechange()