Home
last modified time | relevance | path

Searched refs:vegas (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/ipv4/
Dtcp_vegas.c73 struct vegas *vegas = inet_csk_ca(sk); in vegas_enable() local
76 vegas->doing_vegas_now = 1; in vegas_enable()
79 vegas->beg_snd_nxt = tp->snd_nxt; in vegas_enable()
81 vegas->cntRTT = 0; in vegas_enable()
82 vegas->minRTT = 0x7fffffff; in vegas_enable()
88 struct vegas *vegas = inet_csk_ca(sk); in vegas_disable() local
90 vegas->doing_vegas_now = 0; in vegas_disable()
95 struct vegas *vegas = inet_csk_ca(sk); in tcp_vegas_init() local
97 vegas->baseRTT = 0x7fffffff; in tcp_vegas_init()
112 struct vegas *vegas = inet_csk_ca(sk); in tcp_vegas_pkts_acked() local
[all …]
Dtcp_yeah.c30 struct vegas vegas; /* must be first */ member
121 if (after(ack, yeah->vegas.beg_snd_nxt)) { in tcp_yeah_cong_avoid()
131 if (yeah->vegas.cntRTT > 2) { in tcp_yeah_cong_avoid()
146 rtt = yeah->vegas.minRTT; in tcp_yeah_cong_avoid()
152 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid()
157 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) { in tcp_yeah_cong_avoid()
195 yeah->vegas.beg_snd_una = yeah->vegas.beg_snd_nxt; in tcp_yeah_cong_avoid()
196 yeah->vegas.beg_snd_nxt = tp->snd_nxt; in tcp_yeah_cong_avoid()
197 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd; in tcp_yeah_cong_avoid()
200 yeah->vegas.cntRTT = 0; in tcp_yeah_cong_avoid()
[all …]
Dtcp_illinois.c310 info->vegas.tcpv_enabled = 1; in tcp_illinois_info()
311 info->vegas.tcpv_rttcnt = ca->cnt_rtt; in tcp_illinois_info()
312 info->vegas.tcpv_minrtt = ca->base_rtt; in tcp_illinois_info()
313 info->vegas.tcpv_rtt = 0; in tcp_illinois_info()
315 if (info->vegas.tcpv_rttcnt > 0) { in tcp_illinois_info()
318 do_div(t, info->vegas.tcpv_rttcnt); in tcp_illinois_info()
319 info->vegas.tcpv_rtt = t; in tcp_illinois_info()
Dtcp_westwood.c266 info->vegas.tcpv_enabled = 1; in tcp_westwood_info()
267 info->vegas.tcpv_rttcnt = 0; in tcp_westwood_info()
268 info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt); in tcp_westwood_info()
269 info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min); in tcp_westwood_info()
Dtcp_nv.c459 info->vegas.tcpv_enabled = 1; in tcpnv_get_info()
460 info->vegas.tcpv_rttcnt = ca->nv_rtt_cnt; in tcpnv_get_info()
461 info->vegas.tcpv_rtt = ca->nv_last_rtt; in tcpnv_get_info()
462 info->vegas.tcpv_minrtt = ca->nv_min_rtt; in tcpnv_get_info()
Dtcp_vegas.h9 struct vegas { struct
DKconfig737 default "vegas" if DEFAULT_VEGAS
/Linux-v4.19/include/uapi/linux/
Dinet_diag.h195 struct tcpvegas_info vegas; member