TypeOfService

value class TypeOfService(val value: UByte)(source)

An inline class to hold a IP ToS value

Report a problem

Constructors

Link copied to clipboard
constructor(value: UByte)
constructor(value: Int)

Creates ToS by integer value discarding extra high bits

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Integer representation of this ToS

Link copied to clipboard

an unsigned byte IP_TOS value