Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/netinet/
H A Din_rmx.c172 if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && in in_addroute()
174 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in in_addroute()
176 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in in_addroute()
178 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in in_addroute()
496 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in_rtqkill()
497 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in in_rtqkill()
H A Dtcp_subr.c1236 u_int32_t rtt = rt->rt_rmx.rmx_rtt; in tcp_getrt_rtt()
1246 if (rt->rt_rmx.rmx_locks & RTV_RTT) { in tcp_getrt_rtt()
1257 if (rt->rt_rmx.rmx_rttvar) { in tcp_getrt_rtt()
1258 tp->t_rttvar = rt->rt_rmx.rmx_rttvar / in tcp_getrt_rtt()
1527 if ((rt->rt_rmx.rmx_locks & RTV_RTT) == 0) { in tcp_close()
1530 if (rt->rt_rmx.rmx_rtt && i) { in tcp_close()
1537 rt->rt_rmx.rmx_rtt = in tcp_close()
1538 (rt->rt_rmx.rmx_rtt + i) / 2; in tcp_close()
1540 rt->rt_rmx.rmx_rtt = i; in tcp_close()
1545 if ((rt->rt_rmx.rmx_locks & RTV_RTTVAR) == 0) { in tcp_close()
[all …]
H A Din_arp.c549 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arp_llreach_alloc()
550 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arp_llreach_alloc()
645 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arptfree()
646 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arptfree()
1074 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in arp_rtrequest()
1075 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in arp_rtrequest()
1420 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_lookup_ip()
1421 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_lookup_ip()
1959 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_ip_handle_input()
1960 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.c6531 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu()
6534 maxmtu = MIN(rt->rt_rmx.rmx_mtu, interface_mtu); in tcp_maxmtu()
6553 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu6()
6556 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp)); in tcp_maxmtu6()
6666 offer = rt->rt_rmx.rmx_filler[0]; in tcp_mss()
6688 rt->rt_rmx.rmx_filler[0] = offer; in tcp_mss()
6695 if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt) != 0) { in tcp_mss()
6710 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_mss()
6753 bufsize = rt->rt_rmx.rmx_sendpipe; in tcp_mss()
6777 bufsize = rt->rt_rmx.rmx_recvpipe; in tcp_mss()
[all …]
H A Dip_output.c1676 !(ro->ro_rt->rt_rmx.rmx_locks & RTV_MTU) && in ip_output_list()
1677 (ro->ro_rt->rt_rmx.rmx_mtu > interface_mtu)) { in ip_output_list()
1678 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-10002.1.13/bsd/net/
H A Drtsock.c556 saved_nrt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); in route_output()
557 saved_nrt->rt_rmx.rmx_locks |= in route_output()
734 rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); in route_output()
735 rt->rt_rmx.rmx_locks |= in route_output()
817 rt->rt_rmx.rmx_expire = in rt_setexpire()
821 rt->rt_rmx.rmx_expire = 0; in rt_setexpire()
831 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e; in rt_setmetrics()
841 if (out->rt_rmx.rmx_expire > 0) { in rt_setmetrics()
849 out->rt_rmx.rmx_expire - in rt_setmetrics()
856 VERIFY(out->rt_expire == 0 || out->rt_rmx.rmx_expire != 0); in rt_setmetrics()
[all …]
H A Droute_private.h200 struct rt_metrics rt_rmx; /* metrics used by rx'ing protocols */ member
201 #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.c2358 (*ret_nrt)->rt_rmx.rmx_expire != 0); in rtrequest_common_locked()
2360 (*ret_nrt)->rt_rmx.rmx_expire == 0); in rtrequest_common_locked()
2361 rt->rt_rmx = (*ret_nrt)->rt_rmx; in rtrequest_common_locked()
3653 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in rtinit_locked()
3654 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in rtinit_locked()
3657 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in rtinit_locked()
3659 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in rtinit_locked()
4292 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in route_to_gwroute()
4293 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in route_to_gwroute()
H A Dif_stf.c834 rt->rt_rmx.rmx_mtu = IPV6_MMTU; in stf_rtrequest()
H A Dif.c5703 if (!(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_rmx.rmx_mtu) { in if_rtmtu()
5704 rt->rt_rmx.rmx_mtu = ifp->if_mtu; in if_rtmtu()
5707 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(ifp); in if_rtmtu()
5709 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in if_rtmtu()
/xnu-10002.1.13/bsd/netinet6/
H A Din6_rmx.c220 if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && in in6_addroute()
222 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in in6_addroute()
583 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in6_rtqkill()
584 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.c2317 mtu = ro_pmtu->ro_rt->rt_rmx.rmx_mtu; in ip6_getpmtu()
2331 if (!(ro_pmtu->ro_rt->rt_rmx.rmx_locks & RTV_MTU)) { in ip6_getpmtu()
2332 ro_pmtu->ro_rt->rt_rmx.rmx_mtu = mtu; /* XXX */ in ip6_getpmtu()
H A Dnd6_nbr.c1052 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_na_input()
1053 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_na_input()
H A Dnd6.c2987 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_rtrequest()
2988 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_rtrequest()
/xnu-10002.1.13/tools/lldbmacros/
H A Dnet.py759 out_string += rt_refcnt_rmx_string_format.format(rt.rt_refcnt, rt.rt_rmx.rmx_pksent) + " "