Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low-Latency Systems Protocol Repository

CI Docs Docs License

📖 Documentation: https://gauravagarwalgarg.github.io/protocols/

📦 Repository: GitHub

Enterprise-grade, first-principles implementations of networking, embedded, aerospace, and industrial protocols. Optimized for maximum throughput, deterministic execution, and bare-metal safety.

Coverage

Domain Protocols
Aerospace ARINC 429, 664 (AFDX), 653 (APEX), 665, 615A
Networking Raw Sockets, epoll Reactor, Zero-Copy I/O, DPDK
Embedded UART, SPI, I2C, CAN Bus, GPIO
Concurrency Lock-free Ring Buffer, SPSC Queue, Memory Pool
Transport TCP State Machine, UDP Multicast, QUIC
Industrial Modbus RTU/TCP, PROFINET, EtherCAT

Quick Start

# Build everything
make all

# Build a single module
make -C src/aerospace/arinc429

# Run with raw socket capability
sudo setcap cap_net_raw+ep ./build/afdx_demo
./build/afdx_demo

# Run latency benchmark
make perf

Requirements

  • Linux kernel 5.4+
  • GCC 11+ or Clang 14+
  • No external libraries (libc + kernel headers only)

Design Principles

  1. First Principles Direct syscalls, no wrappers
  2. Zero Allocation Pre-allocated pools, no malloc in hot path
  3. Lock-Free Atomics with explicit memory ordering
  4. Cache-Conscious 64-byte aligned structures, no false sharing
  5. Deterministic Bounded loops, no unbounded recursion
  6. Production-Ready Strict compiler warnings, static analysis clean

License

Proprietary Enterprise Internal Use

Releases

Packages

Contributors

Languages