MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rack_get_fixed_pacing_bw

Function rack_get_fixed_pacing_bw

freebsd/netinet/tcp_stacks/rack.c:1505–1514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503}
1504
1505static uint64_t
1506rack_get_fixed_pacing_bw(struct tcp_rack *rack)
1507{
1508 if (IN_RECOVERY(rack->rc_tp->t_flags))
1509 return (rack->r_ctl.rc_fixed_pacing_rate_rec);
1510 else if (rack->r_ctl.cwnd_to_use < rack->rc_tp->snd_ssthresh)
1511 return (rack->r_ctl.rc_fixed_pacing_rate_ss);
1512 else
1513 return (rack->r_ctl.rc_fixed_pacing_rate_ca);
1514}
1515
1516static uint64_t
1517rack_get_bw(struct tcp_rack *rack)

Callers 2

rack_get_bwFunction · 0.85
rack_get_pacing_delayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected