Skip to main content

Crate arcbox_packet

Crate arcbox_packet 

Source
Expand description

Zero-copy packet primitives for the ArcBox network datapath.

Pure, transport-agnostic building blocks with no VM, VirtIO, or I/O dependencies:

  • packet โ€” zero-copy packet representation and header parsing.
  • ethernet โ€” Ethernet/ARP framing and TCP/UDP frame construction.
  • checksum โ€” Internet checksum routines (RFC 1071/1624), incremental NAT updates, and SIMD-accelerated variants.

Extracted from arcbox-net so non-VM consumers (host-side proxies, packet tools, tests) can reuse them without pulling in the hypervisor or device stack.

Modulesยง

checksum
High-performance checksum calculation.
ethernet
Ethernet frame parsing, construction, and ARP handling.
packet
Zero-copy packet representation.