Expand description
This module contains a WIP relay tunnel reactor.
The initial version will duplicate some of the logic from the client tunnel reactor.
TODO(relay): refactor the relay tunnel to share the same base tunnel implementation as the client tunnel (to reduce code duplication).
See the design notes at doc/dev/notes/relay-reactor.md
Re-exportsยง
pub use channel::MaybeVerifiableRelayResponderChannel;pub use channel::create_handler::CircNetParameters;pub use channel::create_handler::CircuitIncomingStreamReceiver;pub use channel::create_handler::CongestionControlNetParams;pub use channel::create_handler::CreateRequestHandler;pub use channel::create_handler::IncomingStreamRequestFilterFactory;use derive_deftly::Deftly;๐use oneshot_fused_workaround as oneshot;๐use tor_cell::chancell::msg as chanmsg;๐use tor_cell::relaycell::StreamId;๐use tor_cell::relaycell::flow_ctrl::XonKBpsEwma;๐use tor_memquota::derive_deftly_template_HasMemoryCost;๐use crate::Error;๐use crate::circuit::celltypes::derive_deftly_template_RestrictedChanMsgSet;๐use crate::circuit::reactor::CircReactorHandle;๐use crate::circuit::reactor::CtrlCmd;๐use crate::circuit::reactor::backward;๐use crate::circuit::reactor::forward;๐use crate::relay::reactor::backward::Backward;๐use crate::relay::reactor::forward::Forward;๐use crate::stream::incoming::IncomingStreamRequestFilter;๐use crate::stream::StreamTarget;๐
Modulesยง
- channel ๐
- Relay channel code.
- channel_
provider - Module exposing the
ChannelProvidertrait. - reactor ๐
- Module exposing the relay circuit reactor subsystem.
Structsยง
- Relay
Circ - A handle for interacting with a relay circuit.
Enumsยง
- Relay
Circ ๐Chan Msg - A subclass of ChanMsg that can correctly arrive on a live relay circuit (one where a CREATE* has been received).