Home
last modified time | relevance | path

Searched refs:rt_rmx (Results 1 – 19 of 19) sorted by relevance

/xnu-10063.121.3/bsd/netinet/
H A Din_rmx.c174 if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && in in_addroute()
176 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in in_addroute()
178 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in in_addroute()
180 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in in_addroute()
495 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in_rtqkill()
496 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in in_rtqkill()
H A Dtcp_subr.c1240 u_int32_t rtt = rt->rt_rmx.rmx_rtt; in tcp_getrt_rtt()
1250 if (rt->rt_rmx.rmx_locks & RTV_RTT) { in tcp_getrt_rtt()
1261 if (rt->rt_rmx.rmx_rttvar) { in tcp_getrt_rtt()
1262 tp->t_rttvar = rt->rt_rmx.rmx_rttvar / in tcp_getrt_rtt()
1549 if ((rt->rt_rmx.rmx_locks & RTV_RTT) == 0) { in tcp_close()
1552 if (rt->rt_rmx.rmx_rtt && i) { in tcp_close()
1559 rt->rt_rmx.rmx_rtt = in tcp_close()
1560 (rt->rt_rmx.rmx_rtt + i) / 2; in tcp_close()
1562 rt->rt_rmx.rmx_rtt = i; in tcp_close()
1567 if ((rt->rt_rmx.rmx_locks & RTV_RTTVAR) == 0) { in tcp_close()
[all …]
H A Din_arp.c551 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arp_llreach_alloc()
552 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arp_llreach_alloc()
647 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arptfree()
648 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arptfree()
1076 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in arp_rtrequest()
1077 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in arp_rtrequest()
1421 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_lookup_ip()
1422 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_lookup_ip()
1960 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_ip_handle_input()
1961 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_ip_handle_input()
[all …]
H A Dtcp_log.c286 (rt->rt_rmx.rmx_locks & RTV_RTT), in tcp_log_rt_rtt()
287 rt->rt_rmx.rmx_rtt / (RTM_RTTUNIT / TCP_RETRANSHZ), in tcp_log_rt_rtt()
288 rt->rt_rmx.rmx_rttvar / (RTM_RTTUNIT / TCP_RETRANSHZ)); in tcp_log_rt_rtt()
H A Dtcp_input.c6476 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu()
6479 maxmtu = MIN(rt->rt_rmx.rmx_mtu, interface_mtu); in tcp_maxmtu()
6498 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu6()
6501 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp)); in tcp_maxmtu6()
6611 offer = rt->rt_rmx.rmx_filler[0]; in tcp_mss()
6633 rt->rt_rmx.rmx_filler[0] = offer; in tcp_mss()
6640 if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt) != 0) { in tcp_mss()
6655 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_mss()
6698 bufsize = rt->rt_rmx.rmx_sendpipe; in tcp_mss()
6719 bufsize = rt->rt_rmx.rmx_recvpipe; in tcp_mss()
[all …]
H A Dip_output.c1677 !(ro->ro_rt->rt_rmx.rmx_locks & RTV_MTU) && in ip_output_list()
1678 (ro->ro_rt->rt_rmx.rmx_mtu > interface_mtu)) { in ip_output_list()
1679 ro->ro_rt->rt_rmx.rmx_mtu = interface_mtu; in ip_output_list()
H A Dtcp_output.c919 (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_output()
/xnu-10063.121.3/bsd/net/
H A Drtsock.c564 saved_nrt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); in route_output()
565 saved_nrt->rt_rmx.rmx_locks |= in route_output()
741 rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); in route_output()
742 rt->rt_rmx.rmx_locks |= in route_output()
824 rt->rt_rmx.rmx_expire = in rt_setexpire()
828 rt->rt_rmx.rmx_expire = 0; in rt_setexpire()
838 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e; in rt_setmetrics()
848 if (out->rt_rmx.rmx_expire > 0) { in rt_setmetrics()
856 out->rt_rmx.rmx_expire - in rt_setmetrics()
863 VERIFY(out->rt_expire == 0 || out->rt_rmx.rmx_expire != 0); in rt_setmetrics()
[all …]
H A Droute_private.h180 struct rt_metrics rt_rmx; /* metrics used by rx'ing protocols */ member
181 #define rt_use rt_rmx.rmx_pksent
H A Dif_loop.c497 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */ in lo_rtrequest()
503 rt->rt_rmx.rmx_recvpipe = rt->rt_rmx.rmx_sendpipe = 3 * LOMTU; in lo_rtrequest()
H A Droute.c2371 (*ret_nrt)->rt_rmx.rmx_expire != 0); in rtrequest_common_locked()
2373 (*ret_nrt)->rt_rmx.rmx_expire == 0); in rtrequest_common_locked()
2374 rt->rt_rmx = (*ret_nrt)->rt_rmx; in rtrequest_common_locked()
3667 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in rtinit_locked()
3668 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in rtinit_locked()
3671 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in rtinit_locked()
3673 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in rtinit_locked()
4268 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in route_to_gwroute()
4269 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in route_to_gwroute()
H A Dif_stf.c839 rt->rt_rmx.rmx_mtu = IPV6_MMTU; in stf_rtrequest()
H A Dif.c5795 if (!(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_rmx.rmx_mtu) { in if_rtmtu()
5796 rt->rt_rmx.rmx_mtu = ifp->if_mtu; in if_rtmtu()
5799 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(ifp); in if_rtmtu()
5801 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in if_rtmtu()
/xnu-10063.121.3/bsd/netinet6/
H A Din6_rmx.c222 if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && in in6_addroute()
224 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in in6_addroute()
585 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in6_rtqkill()
586 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in in6_rtqkill()
H A Dicmp6.c1248 !(rt->rt_rmx.rmx_locks & RTV_MTU) && in icmp6_mtudisc_update()
1250 rt->rt_rmx.rmx_mtu > mtu) { in icmp6_mtudisc_update()
1252 rt->rt_rmx.rmx_mtu = mtu; in icmp6_mtudisc_update()
H A Dip6_output.c2319 mtu = ro_pmtu->ro_rt->rt_rmx.rmx_mtu; in ip6_getpmtu()
2333 if (!(ro_pmtu->ro_rt->rt_rmx.rmx_locks & RTV_MTU)) { in ip6_getpmtu()
2334 ro_pmtu->ro_rt->rt_rmx.rmx_mtu = mtu; /* XXX */ in ip6_getpmtu()
H A Dnd6_nbr.c1053 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_na_input()
1054 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_na_input()
H A Dnd6.c2988 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_rtrequest()
2989 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_rtrequest()
/xnu-10063.121.3/tools/lldbmacros/
H A Dnet.py754 out_string += rt_refcnt_rmx_string_format.format(rt.rt_refcnt, rt.rt_rmx.rmx_pksent) + " "