Skip to main content

Module circhop

Module circhop 

Source
Expand description

Module exposing structures relating to the reactor’s view of a circuit’s hops.

Re-exports§

use super::CircuitCmd; 🔒
use super::CloseStreamBehavior; 🔒
use crate::circuit::circhop::CircHopInbound; 🔒
use crate::circuit::circhop::CircHopOutbound; 🔒
use crate::circuit::circhop::HopSettings; 🔒
use crate::circuit::circhop::ReactorStreamComponents; 🔒
use crate::circuit::circhop::SendRelayCell; 🔒
use crate::client::reactor::circuit::path::PathEntry; 🔒
use crate::congestion::CongestionControl; 🔒
use crate::crypto::cell::HopNum; 🔒
use crate::memquota::StreamAccount; 🔒
use crate::stream::cmdcheck::AnyCmdChecker; 🔒
use crate::stream::flow_ctrl::state::WithSidechannelMitigations; 🔒
use crate::streammap; 🔒
use crate::streammap::StreamEntMut; 🔒
use crate::streammap::StreamMap; 🔒
use crate::tunnel::TunnelScopedCircId; 🔒
use crate::util::tunnel_activity::TunnelActivity; 🔒
use crate::Error; 🔒
use crate::Result; 🔒
use futures::Stream; 🔒
use futures::stream::FuturesUnordered; 🔒
use smallvec::SmallVec; 🔒
use tor_cell::chancell::BoxedCellBody; 🔒
use tor_cell::chancell::CircId; 🔒
use tor_cell::relaycell::flow_ctrl::Xoff; 🔒
use tor_cell::relaycell::flow_ctrl::Xon; 🔒
use tor_cell::relaycell::flow_ctrl::XonKBpsEwma; 🔒
use tor_cell::relaycell::msg::AnyRelayMsg; 🔒
use tor_cell::relaycell::AnyRelayMsgOuter; 🔒
use tor_cell::relaycell::RelayCellDecoder; 🔒
use tor_cell::relaycell::RelayCellDecoderResult; 🔒
use tor_cell::relaycell::RelayCellFormat; 🔒
use tor_cell::relaycell::StreamId; 🔒
use tor_cell::relaycell::UnparsedRelayMsg; 🔒
use tor_rtcompat::DynTimeProvider; 🔒
use web_time_compat::Instant; 🔒
use safelog::sensitive as sv; 🔒
use tor_error::Bug; 🔒
use tracing::instrument; 🔒
use tracing::instrument; 🔒
use std::result::Result as StdResult; 🔒
use std::sync::Arc; 🔒
use std::sync::Mutex; 🔒
use std::sync::MutexGuard; 🔒
use std::task::Poll; 🔒

Structs§

CircHop 🔒
Represents the reactor’s view of a single hop.
CircHopList 🔒
Represents the reactor’s view of a circuit’s hop.

Constants§

NUM_HOPS 🔒
The “usual” number of hops in a CircHopList.