congestion

package
v0.0.0-...-4e6f134 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBCongestion

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

func (*BBCongestion) CanSend

func (bb *BBCongestion) CanSend(id int, size int) bool

func (*BBCongestion) Info

func (bb *BBCongestion) Info() string

func (*BBCongestion) Init

func (bb *BBCongestion) Init()

func (*BBCongestion) RecvAck

func (bb *BBCongestion) RecvAck(id int, size int)

func (*BBCongestion) Update

func (bb *BBCongestion) Update()

type Congestion

type Congestion interface {
	Init()
	RecvAck(id int, size int)
	CanSend(id int, size int) bool
	Update()
	Info() string
}

Jump to

Keyboard shortcuts

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