Searched refs:e_t (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 136 marked_packet_rtt(struct txseginfo *txsi, struct ertt *e_t, struct tcpcb *tp, in marked_packet_rtt() argument 153 e_t->markedpkt_rtt = tcp_ts_getticks() - in marked_packet_rtt() 155 e_t->bytes_tx_in_marked_rtt = e_t->bytes_tx_in_rtt + in marked_packet_rtt() 158 e_t->markedpkt_rtt = tcp_ts_getticks() - in marked_packet_rtt() 160 e_t->bytes_tx_in_marked_rtt = e_t->bytes_tx_in_rtt - in marked_packet_rtt() 163 e_t->marked_snd_cwnd = tp->snd_cwnd; in marked_packet_rtt() 169 e_t->flags &= ~ERTT_MEASUREMENT_IN_PROGRESS; in marked_packet_rtt() 175 e_t->flags |= ERTT_NEW_MEASUREMENT; in marked_packet_rtt() 181 e_t->flags |= ERTT_TSO_DISABLED; in marked_packet_rtt() 197 struct ertt *e_t; in ertt_packet_measurement_hook() local [all …]
|
/freebsd/sys/netinet/cc/ |
H A D | cc_vegas.c | 129 struct ertt *e_t; in vegas_ack_received() local 134 e_t = khelp_get_osd(&CCV(ccv, t_osd), ertt_id); in vegas_ack_received() 137 if (e_t->flags & ERTT_NEW_MEASUREMENT) { /* Once per RTT. */ in vegas_ack_received() 138 if (e_t->minrtt && e_t->markedpkt_rtt) { in vegas_ack_received() 139 expected_tx_rate = e_t->marked_snd_cwnd / e_t->minrtt; in vegas_ack_received() 140 actual_tx_rate = e_t->bytes_tx_in_marked_rtt / in vegas_ack_received() 141 e_t->markedpkt_rtt; in vegas_ack_received() 143 e_t->minrtt / mss; in vegas_ack_received() 163 e_t->flags &= ~ERTT_NEW_MEASUREMENT; in vegas_ack_received()
|
H A D | cc_chd.c | 243 struct ertt *e_t; in chd_ack_received() local 246 e_t = khelp_get_osd(&CCV(ccv, t_osd), ertt_id); in chd_ack_received() 248 new_measurement = e_t->flags & ERTT_NEW_MEASUREMENT; in chd_ack_received() 251 chd_data->maxrtt_in_rtt = imax(e_t->rtt, chd_data->maxrtt_in_rtt); in chd_ack_received() 258 rtt = V_chd_use_max ? chd_data->maxrtt_in_rtt : e_t->rtt; in chd_ack_received() 261 if (rtt && e_t->minrtt && !IN_RECOVERY(CCV(ccv, t_flags))) { in chd_ack_received() 262 qdly = rtt - e_t->minrtt; in chd_ack_received() 269 e_t->maxrtt - e_t->minrtt, chd_data); in chd_ack_received() 274 e_t->flags &= ~ERTT_NEW_MEASUREMENT; in chd_ack_received() 343 struct ertt *e_t; in chd_cong_signal() local [all …]
|
H A D | cc_cdg.c | 580 struct ertt *e_t; in cdg_ack_received() local 585 e_t = (struct ertt *)khelp_get_osd(&CCV(ccv, t_osd), ertt_id); in cdg_ack_received() 586 new_measurement = e_t->flags & ERTT_NEW_MEASUREMENT; in cdg_ack_received() 588 cdg_data->maxrtt_in_rtt = imax(e_t->rtt, cdg_data->maxrtt_in_rtt); in cdg_ack_received() 589 cdg_data->minrtt_in_rtt = imin(e_t->rtt, cdg_data->minrtt_in_rtt); in cdg_ack_received() 646 e_t->flags &= ~ERTT_NEW_MEASUREMENT; in cdg_ack_received()
|