Structs§
Enums§
- Block
Reason - The possible reason for which a lane may get blocked.
- Lane
State - Packet
Data Error - Puncher
Action - The possible actions the user of a puncher state machine should do after polling the machine.
Constants§
- LANE_
STATUS_ SIZE - The size (in bytes) the lane status.
- MAX_
FRAGMENTATION_ SAFE_ APPLICATION_ DATA - The maximum fragmentation-safe user data size on a punch packet.
- MAX_
FRAGMENTATION_ SAFE_ PAYLOAD - The maximum size of a UDP payload that can be delivered over the network guaranteeing no fragmentation occurs. https://stackoverflow.com/questions/1098897/what-is-the-largest-safe-udp-packet-size-on-the-internet
- MAX_
REASONABLE_ APPLICATION_ DATA - The maximum reasonable user data size on a punch packet.
- MAX_
REASONABLE_ PAYLOAD - The maximum size of a UDP payload one can reasonably expect to be deliverable over the network.
- MAX_
RECOMMENDED_ APPLICATION_ DATA - The maximum recommended user data size on a punch packet.
- MAX_
RECOMMENDED_ PAYLOAD - The maximum size of a UDP payload one can reasonably expect to be deliverable over the network without fragmentation, leaving some extra space in case any more headers are added in transit.
- PACKET_
HEADER_ SIZE - The size (in bytes) of the puncher packet header.
- PREAMBLE
- The byte sequence all packets are expected to start with.
- PREAMBLE_
SIZE - The size (in bytes) of the
PREAMBLE
.