| /xnu-12377.41.6/bsd/netinet/ |
| H A D | in_rmx.c | 175 if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && in in_addroute() 177 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in in_addroute() 179 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in in_addroute() 181 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in in_addroute() 497 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in_rtqkill() 498 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in in_rtqkill()
|
| H A D | in_arp.c | 538 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arp_llreach_alloc() 539 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arp_llreach_alloc() 634 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arptfree() 635 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arptfree() 1063 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in arp_rtrequest() 1064 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in arp_rtrequest() 1411 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_lookup_ip() 1412 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_lookup_ip() 1968 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_ip_handle_input() 1969 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_ip_handle_input() [all …]
|
| H A D | tcp_subr.c | 1459 if (rt->rt_rmx.rmx_rtt != 0 && tcp_init_rtt_from_cache != 0) { in tcp_getrt_rtt() 1460 uint32_t rtt = rt->rt_rmx.rmx_rtt; in tcp_getrt_rtt() 1466 if (rt->rt_rmx.rmx_locks & RTV_RTT) { in tcp_getrt_rtt() 1475 if (rt->rt_rmx.rmx_rttvar) { in tcp_getrt_rtt() 1476 rttvar = rt->rt_rmx.rmx_rttvar / in tcp_getrt_rtt() 1840 if ((rt->rt_rmx.rmx_locks & RTV_RTT) == 0) { in tcp_close() 1843 if (rt->rt_rmx.rmx_rtt && i) { in tcp_close() 1850 rt->rt_rmx.rmx_rtt = in tcp_close() 1851 (rt->rt_rmx.rmx_rtt + i) / 2; in tcp_close() 1853 rt->rt_rmx.rmx_rtt = i; in tcp_close() [all …]
|
| H A D | tcp_log.c | 283 (rt->rt_rmx.rmx_locks & RTV_RTT), in tcp_log_rt_rtt() 284 rt->rt_rmx.rmx_rtt / (RTM_RTTUNIT / TCP_RETRANSHZ), in tcp_log_rt_rtt() 285 rt->rt_rmx.rmx_rttvar / (RTM_RTTUNIT / TCP_RETRANSHZ)); in tcp_log_rt_rtt()
|
| H A D | tcp_input.c | 7021 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu() 7024 maxmtu = MIN(rt->rt_rmx.rmx_mtu, interface_mtu); in tcp_maxmtu() 7043 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu6() 7046 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp)); in tcp_maxmtu6() 7154 offer = rt->rt_rmx.rmx_filler[0]; in tcp_mss() 7176 rt->rt_rmx.rmx_filler[0] = offer; in tcp_mss() 7183 if (tp->t_srtt == 0 && rt->rt_rmx.rmx_rtt != 0) { in tcp_mss() 7199 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_mss() 7240 bufsize = rt->rt_rmx.rmx_sendpipe; in tcp_mss() 7261 bufsize = rt->rt_rmx.rmx_recvpipe; in tcp_mss() [all …]
|
| H A D | ip_output.c | 1748 !(ro->ro_rt->rt_rmx.rmx_locks & RTV_MTU) && in ip_output_list() 1749 (ro->ro_rt->rt_rmx.rmx_mtu > interface_mtu)) { in ip_output_list() 1750 ro->ro_rt->rt_rmx.rmx_mtu = interface_mtu; in ip_output_list()
|
| H A D | tcp_output.c | 1198 (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_output()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | rtsock.c | 590 saved_nrt->rt_rmx.rmx_locks &= ~(RTM->rtm_inits); in route_output() 591 saved_nrt->rt_rmx.rmx_locks |= in route_output() 799 rt->rt_rmx.rmx_locks &= ~(RTM->rtm_inits); in route_output() 800 rt->rt_rmx.rmx_locks |= in route_output() 883 rt->rt_rmx.rmx_expire = in rt_setexpire() 887 rt->rt_rmx.rmx_expire = 0; in rt_setexpire() 897 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e; in rt_setmetrics() 907 if (out->rt_rmx.rmx_expire > 0) { in rt_setmetrics() 915 out->rt_rmx.rmx_expire - in rt_setmetrics() 922 VERIFY(out->rt_expire == 0 || out->rt_rmx.rmx_expire != 0); in rt_setmetrics() [all …]
|
| H A D | if_loop.c | 499 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */ in lo_rtrequest() 505 rt->rt_rmx.rmx_recvpipe = rt->rt_rmx.rmx_sendpipe = 3 * LOMTU; in lo_rtrequest()
|
| H A D | route_private.h | 179 struct rt_metrics rt_rmx; /* metrics used by rx'ing protocols */ member 180 #define rt_use rt_rmx.rmx_pksent
|
| H A D | route.c | 2432 (*ret_nrt)->rt_rmx.rmx_expire != 0); in rtrequest_common_locked() 2434 (*ret_nrt)->rt_rmx.rmx_expire == 0); in rtrequest_common_locked() 2435 rt->rt_rmx = (*ret_nrt)->rt_rmx; in rtrequest_common_locked() 3768 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in rtinit_locked() 3769 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in rtinit_locked() 3772 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in rtinit_locked() 3774 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in rtinit_locked() 4384 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in route_to_gwroute() 4385 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in route_to_gwroute()
|
| H A D | if_stf.c | 840 rt->rt_rmx.rmx_mtu = IPV6_MMTU; in stf_rtrequest()
|
| H A D | if.c | 6161 if (!(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_rmx.rmx_mtu) { in if_rtmtu() 6162 rt->rt_rmx.rmx_mtu = ifp->if_mtu; in if_rtmtu() 6165 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(ifp); in if_rtmtu() 6167 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in if_rtmtu()
|
| H A D | necp_client.c | 11135 route_stats.necp_stat_avg_rtt = client->current_route->rt_rmx.rmx_rtt; in necp_client_copy_route_statistics() 11136 route_stats.necp_stat_var_rtt = client->current_route->rt_rmx.rmx_rttvar; in necp_client_copy_route_statistics()
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | in6_rmx.c | 222 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() 586 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in in6_rtqkill() 587 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in in6_rtqkill()
|
| H A D | icmp6.c | 1253 !(rt->rt_rmx.rmx_locks & RTV_MTU) && in icmp6_mtudisc_update() 1255 rt->rt_rmx.rmx_mtu > mtu) { in icmp6_mtudisc_update() 1257 rt->rt_rmx.rmx_mtu = mtu; in icmp6_mtudisc_update()
|
| H A D | ip6_output.c | 2375 mtu = ro_pmtu->ro_rt->rt_rmx.rmx_mtu; in ip6_getpmtu() 2389 if (!(ro_pmtu->ro_rt->rt_rmx.rmx_locks & RTV_MTU)) { in ip6_getpmtu() 2390 ro_pmtu->ro_rt->rt_rmx.rmx_mtu = mtu; /* XXX */ in ip6_getpmtu()
|
| H A D | nd6_nbr.c | 1081 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_na_input() 1082 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_na_input()
|
| H A D | nd6.c | 3002 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_rtrequest() 3003 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_rtrequest()
|
| /xnu-12377.41.6/tools/lldbmacros/ |
| H A D | net.py | 745 out_string += rt_refcnt_rmx_string_format.format(rt.rt_refcnt, rt.rt_rmx.rmx_pksent) + " "
|