For the complete documentation index, see llms.txt. This page is also available as Markdown.

Protocols API

The SDK Protocols API provides the shared protocol processing infrastructure used by both jNetPcap SDK and jNetWorks SDK.

It implements a modern, high-performance, zero-allocation protocol dissection engine with optional advanced features such as:

  • IP fragment reassembly

  • TCP stream reassembly

  • TLS and IPsec decryption

  • Protocol-specific routing and heuristics

  • Token-based analysis and indexing

  • Backend processor substitution for hardware offload

The architecture is built around a three-tier model:

  1. ProtocolStack – User-facing configuration container

  2. ProtocolTree – Immutable structural template (discovered via SPI)

  3. ProcessorTree – Runtime execution tree with state tables (one per stream)

This shared core enables seamless progression from simple libpcap-based capture (jNetPcap) to ultra-high-performance multi-stream processing (jNetWorks) using the exact same protocol configuration.

Last updated