Home
last modified time | relevance | path

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

/xnu-11215.1.10/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()
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 Din_arp.c537 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arp_llreach_alloc()
538 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arp_llreach_alloc()
633 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in arptfree()
634 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in arptfree()
1062 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in arp_rtrequest()
1063 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in arp_rtrequest()
1410 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_lookup_ip()
1411 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_lookup_ip()
1954 VERIFY(route->rt_expire == 0 || route->rt_rmx.rmx_expire != 0); in arp_ip_handle_input()
1955 VERIFY(route->rt_expire != 0 || route->rt_rmx.rmx_expire == 0); in arp_ip_handle_input()
[all …]
H A Dtcp_subr.c1260 u_int32_t rtt = rt->rt_rmx.rmx_rtt; in tcp_getrt_rtt()
1270 if (rt->rt_rmx.rmx_locks & RTV_RTT) { in tcp_getrt_rtt()
1281 if (rt->rt_rmx.rmx_rttvar) { in tcp_getrt_rtt()
1282 tp->t_rttvar = rt->rt_rmx.rmx_rttvar / in tcp_getrt_rtt()
1569 if ((rt->rt_rmx.rmx_locks & RTV_RTT) == 0) { in tcp_close()
1572 if (rt->rt_rmx.rmx_rtt && i) { in tcp_close()
1579 rt->rt_rmx.rmx_rtt = in tcp_close()
1580 (rt->rt_rmx.rmx_rtt + i) / 2; in tcp_close()
1582 rt->rt_rmx.rmx_rtt = i; in tcp_close()
1587 if ((rt->rt_rmx.rmx_locks & RTV_RTTVAR) == 0) { in tcp_close()
[all …]
H A Dtcp_log.c281 (rt->rt_rmx.rmx_locks & RTV_RTT), in tcp_log_rt_rtt()
282 rt->rt_rmx.rmx_rtt / (RTM_RTTUNIT / TCP_RETRANSHZ), in tcp_log_rt_rtt()
283 rt->rt_rmx.rmx_rttvar / (RTM_RTTUNIT / TCP_RETRANSHZ)); in tcp_log_rt_rtt()
H A Dtcp_input.c6737 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu()
6740 maxmtu = MIN(rt->rt_rmx.rmx_mtu, interface_mtu); in tcp_maxmtu()
6759 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu6()
6762 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp)); in tcp_maxmtu6()
6872 offer = rt->rt_rmx.rmx_filler[0]; in tcp_mss()
6894 rt->rt_rmx.rmx_filler[0] = offer; in tcp_mss()
6901 if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt) != 0) { in tcp_mss()
6916 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_mss()
6959 bufsize = rt->rt_rmx.rmx_sendpipe; in tcp_mss()
6980 bufsize = rt->rt_rmx.rmx_recvpipe; in tcp_mss()
[all …]
H A Dip_output.c1718 !(ro->ro_rt->rt_rmx.rmx_locks & RTV_MTU) && in ip_output_list()
1719 (ro->ro_rt->rt_rmx.rmx_mtu > interface_mtu)) { in ip_output_list()
1720 ro->ro_rt->rt_rmx.rmx_mtu = interface_mtu; in ip_output_list()
H A Dtcp_output.c938 (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_output()
/xnu-11215.1.10/bsd/net/
H A Drtsock.c589 saved_nrt->rt_rmx.rmx_locks &= ~(RTM->rtm_inits); in route_output()
590 saved_nrt->rt_rmx.rmx_locks |= in route_output()
794 rt->rt_rmx.rmx_locks &= ~(RTM->rtm_inits); in route_output()
795 rt->rt_rmx.rmx_locks |= in route_output()
878 rt->rt_rmx.rmx_expire = in rt_setexpire()
882 rt->rt_rmx.rmx_expire = 0; in rt_setexpire()
892 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e; in rt_setmetrics()
902 if (out->rt_rmx.rmx_expire > 0) { in rt_setmetrics()
910 out->rt_rmx.rmx_expire - in rt_setmetrics()
917 VERIFY(out->rt_expire == 0 || out->rt_rmx.rmx_expire != 0); in rt_setmetrics()
[all …]
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_private.h179 struct rt_metrics rt_rmx; /* metrics used by rx'ing protocols */ member
180 #define rt_use rt_rmx.rmx_pksent
H A Droute.c2379 (*ret_nrt)->rt_rmx.rmx_expire != 0); in rtrequest_common_locked()
2381 (*ret_nrt)->rt_rmx.rmx_expire == 0); in rtrequest_common_locked()
2382 rt->rt_rmx = (*ret_nrt)->rt_rmx; in rtrequest_common_locked()
3713 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in rtinit_locked()
3714 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in rtinit_locked()
3717 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in rtinit_locked()
3719 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in rtinit_locked()
4329 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in route_to_gwroute()
4330 VERIFY(rt->rt_expire != 0 || rt->rt_rmx.rmx_expire == 0); in route_to_gwroute()
H A Dif_stf.c840 rt->rt_rmx.rmx_mtu = IPV6_MMTU; in stf_rtrequest()
H A Dif.c6067 if (!(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_rmx.rmx_mtu) { in if_rtmtu()
6068 rt->rt_rmx.rmx_mtu = ifp->if_mtu; in if_rtmtu()
6071 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(ifp); in if_rtmtu()
6073 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in if_rtmtu()
/xnu-11215.1.10/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()
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 Dicmp6.c1251 !(rt->rt_rmx.rmx_locks & RTV_MTU) && in icmp6_mtudisc_update()
1253 rt->rt_rmx.rmx_mtu > mtu) { in icmp6_mtudisc_update()
1255 rt->rt_rmx.rmx_mtu = mtu; in icmp6_mtudisc_update()
H A Dip6_output.c2340 mtu = ro_pmtu->ro_rt->rt_rmx.rmx_mtu; in ip6_getpmtu()
2354 if (!(ro_pmtu->ro_rt->rt_rmx.rmx_locks & RTV_MTU)) { in ip6_getpmtu()
2355 ro_pmtu->ro_rt->rt_rmx.rmx_mtu = mtu; /* XXX */ in ip6_getpmtu()
H A Dnd6_nbr.c1081 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 Dnd6.c2995 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in nd6_rtrequest()
2996 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in nd6_rtrequest()
/xnu-11215.1.10/tools/lldbmacros/
H A Dnet.py751 out_string += rt_refcnt_rmx_string_format.format(rt.rt_refcnt, rt.rt_rmx.rmx_pksent) + " "