Overview

Design Principles

Principle
Implementation

Packet-centric

Single packet at a time, synchronous processing

Zero-allocation fast path

Pre-allocated headers, hasHeader() binding

Single-threaded

No internal threading

libpcap semantics

Familiar dispatch/loop/next patterns

Module Structure

jnetpcap-sdk (starter POM)
├── jnetpcap-api        - NetPcap, PacketHandler, high-level API
├── jnetpcap-bindings   - Low-level Pcap FFM bindings
├── sdk-protocol-core   - Shared core
└── sdk-protocol-tcpip  - TCP/IP pack

Last updated