📖 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.
| 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 |
# 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- Linux kernel 5.4+
- GCC 11+ or Clang 14+
- No external libraries (libc + kernel headers only)
- First Principles Direct syscalls, no wrappers
- Zero Allocation Pre-allocated pools, no malloc in hot path
- Lock-Free Atomics with explicit memory ordering
- Cache-Conscious 64-byte aligned structures, no false sharing
- Deterministic Bounded loops, no unbounded recursion
- Production-Ready Strict compiler warnings, static analysis clean
Proprietary Enterprise Internal Use