Lines Matching defs:cubicSender

22 type cubicSender struct {  struct
23 hybridSlowStart HybridSlowStart
24 rttStats *utils.RTTStats
25 cubic *Cubic
26 pacer *pacer
27 clock Clock
29 reno bool
32 largestSentPacketNumber protocol.PacketNumber
35 largestAckedPacketNumber protocol.PacketNumber
38 largestSentAtLastCutback protocol.PacketNumber
42 lastCutbackExitedSlowstart bool
45 congestionWindow protocol.ByteCount
48 slowStartThreshold protocol.ByteCount
51 numAckedPackets uint64
53 initialCongestionWindow protocol.ByteCount
54 initialMaxCongestionWindow protocol.ByteCount
56 maxDatagramSize protocol.ByteCount
58 lastState logging.CongestionState
59 tracer logging.ConnectionTracer
119 func (c *cubicSender) TimeUntilSend(_ protocol.ByteCount) time.Time {
123 func (c *cubicSender) HasPacingBudget() bool {
127 func (c *cubicSender) maxCongestionWindow() protocol.ByteCount {
131 func (c *cubicSender) minCongestionWindow() protocol.ByteCount {
135 func (c *cubicSender) OnPacketSent(
150 func (c *cubicSender) CanSend(bytesInFlight protocol.ByteCount) bool {
154 func (c *cubicSender) InRecovery() bool {
158 func (c *cubicSender) InSlowStart() bool {
162 func (c *cubicSender) GetCongestionWindow() protocol.ByteCount {
166 func (c *cubicSender) MaybeExitSlowStart() {
175 func (c *cubicSender) OnPacketAcked(
191 …er) OnPacketLost(packetNumber protocol.PacketNumber, lostBytes, priorInFlight protocol.ByteCount) {
217 func (c *cubicSender) maybeIncreaseCwnd(
253 func (c *cubicSender) isCwndLimited(bytesInFlight protocol.ByteCount) bool {
264 func (c *cubicSender) BandwidthEstimate() Bandwidth {
274 func (c *cubicSender) OnRetransmissionTimeout(packetsRetransmitted bool) {
286 func (c *cubicSender) OnConnectionMigration() {
298 func (c *cubicSender) maybeTraceStateChange(new logging.CongestionState) {
306 func (c *cubicSender) SetMaxDatagramSize(s protocol.ByteCount) {