ledbat

package
v0.0.0-...-249e25c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller ...

func New

func New() *Controller

New ...

func (*Controller) AddDataLoss

func (l *Controller) AddDataLoss(size int, retransmitting bool)

AddDataLoss ...

func (*Controller) AddDelaySample

func (l *Controller) AddDelaySample(d time.Duration, size int)

AddDelaySample ...

func (*Controller) AddRTTSample

func (l *Controller) AddRTTSample(rtt time.Duration)

AddRTTSample ...

func (*Controller) AddSent

func (l *Controller) AddSent(size int)

AddSent ...

func (*Controller) CTO

func (l *Controller) CTO() time.Duration

CTO ...

func (*Controller) CWND

func (l *Controller) CWND() int

CWND ...

func (*Controller) Debug

func (l *Controller) Debug() bool

Debug ...

func (*Controller) DigestDelaySamples

func (l *Controller) DigestDelaySamples()

DigestDelaySamples ...

func (*Controller) FlightSize

func (l *Controller) FlightSize() int

FlightSize ...

func (*Controller) HackTest

func (l *Controller) HackTest(size int)

account for scheduled competing flow

func (*Controller) RTTMean

func (l *Controller) RTTMean() time.Duration

RTTMean ...

func (*Controller) RTTVar

func (l *Controller) RTTVar() time.Duration

RTTVar ...

func (*Controller) StartDebugging

func (l *Controller) StartDebugging()

StartDebugging ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL