pub struct ReticulumSection {Show 38 fields
pub enable_transport: bool,
pub share_instance: bool,
pub instance_name: String,
pub shared_instance_port: u16,
pub instance_control_port: u16,
pub panic_on_interface_error: bool,
pub use_implicit_proof: bool,
pub network_identity: Option<String>,
pub respond_to_probes: bool,
pub enable_remote_management: bool,
pub remote_management_allowed: Vec<String>,
pub publish_blackhole: bool,
pub probe_port: Option<u16>,
pub probe_addr: Option<String>,
pub probe_protocol: Option<String>,
pub device: Option<String>,
pub discover_interfaces: bool,
pub required_discovery_value: Option<u8>,
pub prefer_shorter_path: bool,
pub max_paths_per_destination: usize,
pub packet_hashlist_max_entries: usize,
pub max_discovery_pr_tags: usize,
pub max_path_destinations: usize,
pub max_tunnel_destinations_total: usize,
pub known_destinations_ttl: u64,
pub known_destinations_max_entries: usize,
pub announce_table_ttl: u64,
pub announce_table_max_bytes: usize,
pub announce_sig_cache_enabled: bool,
pub announce_sig_cache_max_entries: usize,
pub announce_sig_cache_ttl: u64,
pub announce_queue_max_entries: usize,
pub announce_queue_max_interfaces: usize,
pub announce_queue_max_bytes: usize,
pub announce_queue_ttl: u64,
pub announce_queue_overflow_policy: String,
pub driver_event_queue_capacity: usize,
pub interface_writer_queue_capacity: usize,
}Expand description
The [reticulum] section.
Fields§
§enable_transport: bool§instance_name: String§instance_control_port: u16§panic_on_interface_error: bool§use_implicit_proof: bool§network_identity: Option<String>§respond_to_probes: bool§enable_remote_management: bool§remote_management_allowed: Vec<String>§publish_blackhole: bool§probe_port: Option<u16>§probe_addr: Option<String>§probe_protocol: Option<String>Protocol for endpoint discovery: “rnsp” (default) or “stun”.
device: Option<String>Network interface to bind outbound sockets to (e.g. “usb0”).
discover_interfaces: boolEnable interface discovery (advertise discoverable interfaces and listen for discovery announces from the network).
required_discovery_value: Option<u8>Minimum stamp value for accepting discovered interfaces.
prefer_shorter_path: boolAccept an announce with strictly fewer hops even when the random_blob is a duplicate of the existing path entry.
max_paths_per_destination: usizeMaximum number of alternative paths stored per destination. Default 1 (single path, backward-compatible).
packet_hashlist_max_entries: usizeMaximum number of packet hashes retained for duplicate suppression.
Maximum number of discovery path-request tags remembered.
max_path_destinations: usizeMaximum number of destinations retained in the live path table.
max_tunnel_destinations_total: usizeMaximum number of destinations retained across tunnel-known paths.
known_destinations_ttl: u64TTL for recalled known destinations without an active path, in seconds.
known_destinations_max_entries: usizeMaximum number of recalled known destinations retained.
announce_table_ttl: u64TTL for announce retransmission state, in seconds.
announce_table_max_bytes: usizeMaximum retained bytes for announce retransmission state.
announce_sig_cache_enabled: boolWhether the announce signature verification cache is enabled.
announce_sig_cache_max_entries: usizeMaximum entries in the announce signature verification cache.
announce_sig_cache_ttl: u64TTL for announce signature cache entries, in seconds.
announce_queue_max_entries: usizeMaximum entries in the async announce verification queue.
announce_queue_max_interfaces: usizeMaximum interface-scoped announce queues retained.
announce_queue_max_bytes: usizeMaximum retained bytes in the async announce verification queue.
announce_queue_ttl: u64TTL for queued async announce verification entries, in seconds.
announce_queue_overflow_policy: StringOverflow policy for the async announce verification queue.
driver_event_queue_capacity: usizeMaximum queued events awaiting driver processing.
interface_writer_queue_capacity: usizeMaximum queued outbound frames per interface writer worker.
Trait Implementations§
Source§impl Clone for ReticulumSection
impl Clone for ReticulumSection
Source§fn clone(&self) -> ReticulumSection
fn clone(&self) -> ReticulumSection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReticulumSection
impl Debug for ReticulumSection
Auto Trait Implementations§
impl Freeze for ReticulumSection
impl RefUnwindSafe for ReticulumSection
impl Send for ReticulumSection
impl Sync for ReticulumSection
impl Unpin for ReticulumSection
impl UnsafeUnpin for ReticulumSection
impl UnwindSafe for ReticulumSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more