• Home
  • Raw
  • Download

Lines Matching refs:vegas

74 	struct vegas *vegas = inet_csk_ca(sk);  in vegas_enable()  local
77 vegas->doing_vegas_now = 1; in vegas_enable()
80 vegas->beg_snd_nxt = tp->snd_nxt; in vegas_enable()
82 vegas->cntRTT = 0; in vegas_enable()
83 vegas->minRTT = 0x7fffffff; in vegas_enable()
89 struct vegas *vegas = inet_csk_ca(sk); in vegas_disable() local
91 vegas->doing_vegas_now = 0; in vegas_disable()
96 struct vegas *vegas = inet_csk_ca(sk); in tcp_vegas_init() local
98 vegas->baseRTT = 0x7fffffff; in tcp_vegas_init()
113 struct vegas *vegas = inet_csk_ca(sk); in tcp_vegas_pkts_acked() local
123 if (vrtt < vegas->baseRTT) in tcp_vegas_pkts_acked()
124 vegas->baseRTT = vrtt; in tcp_vegas_pkts_acked()
129 vegas->minRTT = min(vegas->minRTT, vrtt); in tcp_vegas_pkts_acked()
130 vegas->cntRTT++; in tcp_vegas_pkts_acked()
168 struct vegas *vegas = inet_csk_ca(sk); in tcp_vegas_cong_avoid() local
170 if (!vegas->doing_vegas_now) { in tcp_vegas_cong_avoid()
175 if (after(ack, vegas->beg_snd_nxt)) { in tcp_vegas_cong_avoid()
181 vegas->beg_snd_nxt = tp->snd_nxt; in tcp_vegas_cong_avoid()
192 if (vegas->cntRTT <= 2) { in tcp_vegas_cong_avoid()
212 rtt = vegas->minRTT; in tcp_vegas_cong_avoid()
220 target_cwnd = (u64)tp->snd_cwnd * vegas->baseRTT; in tcp_vegas_cong_avoid()
227 diff = tp->snd_cwnd * (rtt-vegas->baseRTT) / vegas->baseRTT; in tcp_vegas_cong_avoid()
281 vegas->cntRTT = 0; in tcp_vegas_cong_avoid()
282 vegas->minRTT = 0x7fffffff; in tcp_vegas_cong_avoid()
293 const struct vegas *ca = inet_csk_ca(sk); in tcp_vegas_get_info()
296 info->vegas.tcpv_enabled = ca->doing_vegas_now; in tcp_vegas_get_info()
297 info->vegas.tcpv_rttcnt = ca->cntRTT; in tcp_vegas_get_info()
298 info->vegas.tcpv_rtt = ca->baseRTT; in tcp_vegas_get_info()
299 info->vegas.tcpv_minrtt = ca->minRTT; in tcp_vegas_get_info()
324 BUILD_BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE); in tcp_vegas_register()