package tos
import "github.com/uber/tchannel-go/tos"
Index ¶
Types ¶
type ToS ¶
type ToS uint8
ToS represents a const value DF, CS3 etc Assured Forwarding (x=class, y=drop precedence) (RFC2597) Class Selector (RFC 2474) IP Precedence (Linux Socket Compat RFC 791
const ( // CS3 Class Selector 3 CS3 ToS = 0x18 // CS4 Class Selector 4 CS4 ToS = 0x20 // CS5 Class Selector 5 CS5 ToS = 0x28 // CS6 Class Selector 6 CS6 ToS = 0x30 // CS7 Class Selector 7 CS7 ToS = 0x38 // AF11 Assured Forward 11 AF11 ToS = 0x0a // AF12 Assured Forward 11 AF12 ToS = 0x0c // AF13 Assured Forward 12 AF13 ToS = 0x0e // AF21 Assured Forward 13 AF21 ToS = 0x12 // AF22 Assured Forward 21 AF22 ToS = 0x14 // AF23 Assured Forward 22 AF23 ToS = 0x16 // AF31 Assured Forward 23 AF31 ToS = 0x1a // AF32 Assured Forward 31 AF32 ToS = 0x1c // AF33 Assured Forward 32 AF33 ToS = 0x1e // AF41 Assured Forward 33 AF41 ToS = 0x22 // AF42 Assured Forward 41 AF42 ToS = 0x24 // AF43 Assured Forward 42 AF43 ToS = 0x26 // EF Expedited Forwarding (RFC 3246) EF ToS = 0x2e // Lowdelay 10 Lowdelay ToS = 0x10 // Throughput 8 Throughput ToS = 0x08 // Reliability 4 Reliability ToS = 0x04 // Lowcost 2 Lowcost ToS = 0x02 )
func (ToS) MarshalText ¶
MarshalText implements TextMarshaler from encoding
func (*ToS) UnmarshalText ¶
UnmarshalText implements TextUnMarshaler from encoding
Source Files ¶
- Version
- v1.13.0
- Published
- Apr 4, 2019
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 month ago –
Tools for package owners.