TypeOfService

inline class TypeOfService

An inline class to hold a IP ToS value

Constructors

<init>

TypeOfService(value: Int)

Creates ToS by integer value discarding extra high bits

TypeOfService(value: <ERROR CLASS>)

An inline class to hold a IP ToS value

Properties

intValue

val intValue: Int

Integer representation of this ToS

value

val value: <ERROR CLASS>

an unsigned byte IP_TOS value

Companion Object Properties

IPTOS_LOWCOST

val IPTOS_LOWCOST: TypeOfService

IPTOS_LOWDELAY

val IPTOS_LOWDELAY: TypeOfService

IPTOS_RELIABILITY

val IPTOS_RELIABILITY: TypeOfService

IPTOS_THROUGHPUT

val IPTOS_THROUGHPUT: TypeOfService

UNDEFINED

val UNDEFINED: TypeOfService