Home
last modified time | relevance | path

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

/xnu-8796.141.3/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.c1232 u_int32_t rtt = rt->rt_rmx.rmx_rtt; in tcp_getrt_rtt()
1242 if (rt->rt_rmx.rmx_locks & RTV_RTT) { in tcp_getrt_rtt()
1253 if (rt->rt_rmx.rmx_rttvar) { in tcp_getrt_rtt()
1254 tp->t_rttvar = rt->rt_rmx.rmx_rttvar / in tcp_getrt_rtt()
1523 if ((rt->rt_rmx.rmx_locks & RTV_RTT) == 0) { in tcp_close()
1526 if (rt->rt_rmx.rmx_rtt && i) { in tcp_close()
1533 rt->rt_rmx.rmx_rtt = in tcp_close()
1534 (rt->rt_rmx.rmx_rtt + i) / 2; in tcp_close()
1536 rt->rt_rmx.rmx_rtt = i; in tcp_close()
1541 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.c294 (rt->rt_rmx.rmx_locks & RTV_RTT), in tcp_log_rt_rtt()
295 rt->rt_rmx.rmx_rtt / (RTM_RTTUNIT / TCP_RETRANSHZ), in tcp_log_rt_rtt()
296 rt->rt_rmx.rmx_rttvar / (RTM_RTTUNIT / TCP_RETRANSHZ)); in tcp_log_rt_rtt()
H A Dtcp_input.c6395 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu()
6398 maxmtu = MIN(rt->rt_rmx.rmx_mtu, interface_mtu); in tcp_maxmtu()
6417 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_maxmtu6()
6420 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp)); in tcp_maxmtu6()
6531 offer = rt->rt_rmx.rmx_filler[0]; in tcp_mss()
6553 rt->rt_rmx.rmx_filler[0] = offer; in tcp_mss()
6560 if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt) != 0) { in tcp_mss()
6575 if (rt->rt_rmx.rmx_mtu == 0) { in tcp_mss()
6624 bufsize = rt->rt_rmx.rmx_sendpipe; in tcp_mss()
6648 bufsize = rt->rt_rmx.rmx_recvpipe; in tcp_mss()
[all …]
H A Dip_output.c1671 !(ro->ro_rt->rt_rmx.rmx_locks & RTV_MTU) && in ip_output_list()
1672 (ro->ro_rt->rt_rmx.rmx_mtu > interface_mtu)) { in ip_output_list()
1673 ro->ro_rt->rt_rmx.rmx_mtu = interface_mtu; in ip_output_list()
H A Dtcp_output.c890 (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_output()
/xnu-8796.141.3/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.c2353 (*ret_nrt)->rt_rmx.rmx_expire != 0); in rtrequest_common_locked()
2355 (*ret_nrt)->rt_rmx.rmx_expire == 0); in rtrequest_common_locked()
2356 rt->rt_rmx = (*ret_nrt)->rt_rmx; in rtrequest_common_locked()
3648 if (!(rt->rt_rmx.rmx_locks & RTV_MTU)) { in rtinit_locked()
3649 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; in rtinit_locked()
3652 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(rt->rt_ifp); in rtinit_locked()
3654 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in rtinit_locked()
4287 VERIFY(rt->rt_expire == 0 || rt->rt_rmx.rmx_expire != 0); in route_to_gwroute()
4288 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.c5657 if (!(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_rmx.rmx_mtu) { in if_rtmtu()
5658 rt->rt_rmx.rmx_mtu = ifp->if_mtu; in if_rtmtu()
5661 rt->rt_rmx.rmx_mtu = IN6_LINKMTU(ifp); in if_rtmtu()
5663 rt->rt_rmx.rmx_mtu -= CLAT46_HDR_EXPANSION_OVERHD; in if_rtmtu()
/xnu-8796.141.3/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-8796.141.3/tools/lldbmacros/
H A Dnet.py759 out_string += rt_refcnt_rmx_string_format.format(rt.rt_refcnt, rt.rt_rmx.rmx_pksent) + " "