Expand description
Binary Protocol with CRC32 Checksums for Ghost-Link Discovery
This module implements a fixed-width binary protocol using:
- Fixed-size fields for zero-copy parsing
- CRC32 checksums for frame integrity (hardware-accelerated via crc32fast)
- Sequence numbers and versioning for ordering
- Zero-copy encoding with thread-local buffers
Structs§
- Discovery
Frame - Discovery frame with binary encoding and CRC32
- Frame
Header - Frame header structure (fixed-width, 8 bytes)
- Node
Resources - Node resources structure for discovery frames
Enums§
- Frame
Kind - Frame kind enumeration
Constants§
- GHOSTLINK_
ETHERTYPE - Ghost-Link EtherType (0x88B5)
- MAX_
FRAME_ SIZE - Maximum frame size (header + max payload)
- MAX_
PAYLOAD_ SIZE - Maximum payload size for discovery frames
- PROTOCOL_
VERSION - Protocol version
Functions§
- crc32
- Compute CRC32 checksum using hardware-accelerated crc32fast