Skip to content
EIPC

EIPC

Embedded Inter-Process Communication

Zero-copy, HMAC-authenticated IPC protocol for EoS services. Sub-microsecond shared memory transport, 4 transport backends, capability-based security.

Transport Backends

Same EIPC API regardless of transport. Swap backends without changing application code.

Lowest
Relative latency
10 GB/s
Throughput

Zero-copy shared memory ring buffer. Fastest transport for same-core or same-chip communication.

Wire Format

Every EIPC frame follows this binary layout. Authenticated with HMAC-SHA256.

FieldSizeValueDescription
Magic4 bytes0x45 0x49 0x50 0x43Frame identifier (EIPC)
Version1 byte0x01Protocol version
Flags1 byte0x00–0xFFCompression, encryption, priority bits
Sequence4 bytesuint32_tMonotonic sequence number for ordering
Header Len2 bytesuint16_tLength of JSON header section
Payload Len4 bytesuint32_tLength of payload section
HeadervariableJSONService name, method, metadata
PayloadvariableJSON/CBOR/binaryMethod arguments or return values
HMAC32 bytesSHA-256HMAC-SHA256 over header + payload

Features

Sub-microsecond Latency

Shared memory transport for same-core communication, with zero serialisation overhead for binary payloads.

HMAC Authentication

Every frame is authenticated with HMAC-SHA256. Prevents spoofing and replay attacks between EoS services.

Capability-Based Security

Services declare capabilities in their manifest. EIPC enforces capability checks before routing any message.

4 Transport Backends

Shared memory, UART, SPI, and TCP/IP transports. Same API regardless of transport — swap without code changes.