tc

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package tc contains the options for configuring per-interface Traffic Control (TC) queuing disciplines

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer uint32

func (Buffer) ApplyTbf

func (r Buffer) ApplyTbf(t *o.Tbf)

type Corruption

type Corruption Probability

func (Corruption) ApplyNetem

func (c Corruption) ApplyNetem(n *o.Netem)

type Duplicate

type Duplicate Probability

func (Duplicate) ApplyNetem

func (p Duplicate) ApplyNetem(n *o.Netem)

type Gap

type Gap uint32

func (Gap) ApplyNetem

func (g Gap) ApplyNetem(n *o.Netem)

type Jitter

type Jitter time.Duration

func (Jitter) ApplyNetem

func (j Jitter) ApplyNetem(n *o.Netem)

type Latency

type Latency time.Duration

func (Latency) ApplyNetem

func (m Latency) ApplyNetem(n *o.Netem)

type LimitNetem

type LimitNetem uint32

func (LimitNetem) ApplyNetem

func (l LimitNetem) ApplyNetem(n *o.Netem)

type LimitTbf

type LimitTbf uint32

func (LimitTbf) ApplyTbf

func (l LimitTbf) ApplyTbf(t *o.Tbf)

type Loss

type Loss Probability

func (Loss) ApplyNetem

func (p Loss) ApplyNetem(n *o.Netem)

type MinBurst

type MinBurst uint32

func (MinBurst) ApplyTbf

func (r MinBurst) ApplyTbf(t *o.Tbf)

type PeakRate

type PeakRate uint64

func (PeakRate) ApplyTbf

func (r PeakRate) ApplyTbf(t *o.Tbf)

type Probability

type Probability struct {
	Probability float32
	Correlation float32
}

type Rate

type Rate uint64

func (Rate) ApplyTbf

func (r Rate) ApplyTbf(t *o.Tbf)

type Reordering

type Reordering Probability

func (Reordering) ApplyNetem

func (p Reordering) ApplyNetem(n *o.Netem)

Jump to

Keyboard shortcuts

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