package
0.0.0-20230310201401-7aac46a7fa12
Repository: https://github.com/mitghi/protox.git
Documentation: pkg.go.dev

# Functions

IsValidCommand returns wether a packet code is in the mapping or is invalid.
NewPacket crafts a new `Packet`.

# Constants

Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Control packet codes ( shifted to left, mask : 0xF0 ).
Quality of Service codes.
Quality of Service codes.
Quality of Service codes.
Maximum supported Quality of Service.
Duplicate option.
Retain option ( N = no, Y = yes .
Connection response header options.
TODO .
Duplicate option.
Retain option ( N = no, Y = yes .

# Variables

Control packet map.

# Structs

Packet represents a PDU ( protocol data unit ).