Home
last modified time | relevance | path

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

/linux-4.1.27/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
120 if (after(ack, yeah->vegas.beg_snd_nxt)) { in tcp_yeah_cong_avoid()
130 if (yeah->vegas.cntRTT > 2) { in tcp_yeah_cong_avoid()
145 rtt = yeah->vegas.minRTT; in tcp_yeah_cong_avoid()
151 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid()
156 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) { in tcp_yeah_cong_avoid()
194 yeah->vegas.beg_snd_una = yeah->vegas.beg_snd_nxt; in tcp_yeah_cong_avoid()
195 yeah->vegas.beg_snd_nxt = tp->snd_nxt; in tcp_yeah_cong_avoid()
196 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd; in tcp_yeah_cong_avoid()
199 yeah->vegas.cntRTT = 0; in tcp_yeah_cong_avoid()
[all …]
Dtcp_illinois.c309 info->vegas.tcpv_enabled = 1; in tcp_illinois_info()
310 info->vegas.tcpv_rttcnt = ca->cnt_rtt; in tcp_illinois_info()
311 info->vegas.tcpv_minrtt = ca->base_rtt; in tcp_illinois_info()
312 info->vegas.tcpv_rtt = 0; in tcp_illinois_info()
314 if (info->vegas.tcpv_rttcnt > 0) { in tcp_illinois_info()
317 do_div(t, info->vegas.tcpv_rttcnt); in tcp_illinois_info()
318 info->vegas.tcpv_rtt = t; in tcp_illinois_info()
Dtcp_westwood.c265 info->vegas.tcpv_enabled = 1; in tcp_westwood_info()
266 info->vegas.tcpv_rttcnt = 0; in tcp_westwood_info()
267 info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt), in tcp_westwood_info()
268 info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min), in tcp_westwood_info()
Dtcp_vegas.h8 struct vegas { struct
DKconfig666 default "vegas" if DEFAULT_VEGAS
/linux-4.1.27/include/uapi/linux/
Dinet_diag.h147 struct tcpvegas_info vegas; member