priority_setting

package
v0.41.0-28 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: NoPriority equal to zero so that empty structs that don't init a prio automatically get no priority?
	NoPriority   Priority = 0
	LowPriority  Priority = 1
	HighPriority Priority = 2

	LowestPriority     int8 = int8(LowPriority)
	NumberOfPriorities int  = 2
)

Functions

This section is empty.

Types

type Priority

type Priority protocol.Priority
var (
	PrioRetryPacket           Priority = HighPriority
	PrioConnectionClosePacket Priority = HighPriority
	PrioCoalescedPacket       Priority = HighPriority
	PrioAppendPacket          Priority = HighPriority
	PrioProbePacket           Priority = HighPriority
	PrioMTUProbePacket        Priority = HighPriority
	PrioLongHeaderPacket      Priority = HighPriority
)

PRIO_PACKS_TAG TODOME: maybe add possibility of more specifc prio handling e.g. for different packet types

Jump to

Keyboard shortcuts

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