Skip to main content

Module packet

Module packet 

Source
Expand description

OpenVPN Packet Parsing and Serialization

§Performance Optimizations

  • Zero-copy parsing using Bytes slices
  • Inlined hot path functions
  • Pre-allocated serialization buffers

Structs§

ControlPacketData
Control channel packet data
DataPacketData
Data channel packet data
PacketHeader
OpenVPN packet header

Enums§

Packet
Parsed OpenVPN packet

Type Aliases§

PacketId
Packet ID (4 bytes) for replay protection
SessionId
Session ID (8 bytes)