View Source ExShark.LazyCapture (exshark v0.1.0)

Provides lazy loading of PCAP files for memory-efficient packet processing. Loads and analyzes packets on-demand rather than loading entire capture files into memory at once.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_packet(pid, index)

init(arg)

Callback implementation for GenServer.init/1.

load_packets(pid, count)

start_link(file_path, opts \\ [])

total_packets(pid)