Expand description
Packet pipeline for the HOPR protocol. HOPR packet processing pipeline.
Re-exportsΒ§
pub use builder::PacketPipelineBuilder;pub use builder::Unset;pub use config::AcknowledgementPipelineConfig;pub use config::PacketPipelineConfig;pub use config::PoolArbitrationConfig;
ModulesΒ§
- builder π
- Builder for constructing the HOPR packet pipeline.
- config π
- Configuration structures for the HOPR packet processing pipeline.
EnumsΒ§
- Node
Type - Node type for which the packet processing pipeline is being constructed.
- Packet
Pipeline Processes
ConstantsΒ§
- DEFAULT_
ACK_ πINPUT_ CONCURRENCY - Default concurrency for the incoming acknowledgement processing pipeline when not overridden
via
AcknowledgementPipelineConfig::ack_input_concurrency. - DEFAULT_
ACK_ πOUTPUT_ CONCURRENCY - Default concurrency for the outgoing acknowledgement processing pipeline when not overridden
via
AcknowledgementPipelineConfig::ack_output_concurrency. - PACKET_
DECODING_ πTIMEOUT - PACKET_
ENCODING_ πTIMEOUT - PIPELINE_
CONCURRENCY_ πPER_ CPU - Multiplier applied to the CPU count to size each pipeline stageβs ready-queue depth.
- QUEUE_
SEND_ πTIMEOUT
FunctionsΒ§
- default_
pipeline_ πconcurrency - Default per-stage pipeline concurrency (the ready-queue depth feeding the shared Rayon pool)
used when a
PacketPipelineConfigconcurrency field is unset or zero. - run_
packet_ πpipeline_ inner - Shared implementation of the packet pipeline used by
PacketPipelineBuilderβs terminalbuild_for_*methods. - start_
drain_ πincoming_ ack_ pipeline - Drains incoming acknowledgements without forwarding them to an
UnacknowledgedTicketProcessor. - start_
incoming_ πpacket_ pipeline - Performs HOPR protocol decoding of incoming packets into Application protocol packets.
- start_
outgoing_ πack_ pipeline - start_
outgoing_ πpacket_ pipeline - Performs encoding of outgoing Application protocol packets into HOPR protocol outgoing packets.
- start_
relay_ πincoming_ ack_ pipeline