tc

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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) Apply

func (r Buffer) Apply(t *gopt.Tbf)

type Corruption

type Corruption Probability

func (Corruption) Apply

func (c Corruption) Apply(n *gopt.Netem)

type Duplicate

type Duplicate Probability

func (Duplicate) Apply

func (p Duplicate) Apply(n *gopt.Netem)

type Gap

type Gap uint32

func (Gap) Apply

func (g Gap) Apply(n *gopt.Netem)

type Jitter

type Jitter time.Duration

func (Jitter) Apply

func (j Jitter) Apply(n *gopt.Netem)

type Latency

type Latency time.Duration

func (Latency) Apply

func (m Latency) Apply(n *gopt.Netem)

type LimitNetem

type LimitNetem uint32

func (LimitNetem) Apply

func (l LimitNetem) Apply(n *gopt.Netem)

type LimitTbf

type LimitTbf uint32

func (LimitTbf) Apply

func (l LimitTbf) Apply(t *gopt.Tbf)

type Loss

type Loss Probability

func (Loss) Apply

func (p Loss) Apply(n *gopt.Netem)

type MinBurst

type MinBurst uint32

func (MinBurst) Apply

func (r MinBurst) Apply(t *gopt.Tbf)

type PeakRate

type PeakRate uint64

func (PeakRate) Apply

func (r PeakRate) Apply(t *gopt.Tbf)

type Probability

type Probability struct {
	Probability float32
	Correlation float32
}

type Rate

type Rate uint64

func (Rate) Apply

func (r Rate) Apply(t *gopt.Tbf)

type Reordering

type Reordering Probability

func (Reordering) Apply

func (p Reordering) Apply(n *gopt.Netem)

Jump to

Keyboard shortcuts

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