pub struct Config {Show 22 fields
pub multicast_port: u16,
pub base_port: u16,
pub port_range: u16,
pub session_id: String,
pub known_peers: Vec<String>,
pub multicast_addresses: Vec<String>,
pub multicast_ttl: u32,
pub watchdog_time_threshold: f64,
pub time_update_interval: f64,
pub time_update_min_probes: u32,
pub time_probe_count: u32,
pub time_probe_interval: f64,
pub time_probe_max_rtt: f64,
pub smoothing_halftime: f32,
pub force_default_timestamps: bool,
pub continuous_resolve_interval: f64,
pub multicast_min_rtt: f64,
pub unicast_min_rtt: f64,
pub use_protocol_version: i32,
pub allow_ipv4: bool,
pub allow_ipv6: bool,
pub source: String,
}Expand description
Every value that changes what travels on the wire.
The names follow src/api_config.cpp:168-322. A value that this
implementation does not act on yet is left out rather than read and
ignored.
Fields§
§multicast_port: u16The port for a multicast or broadcast query. ports.MulticastPort.
base_port: u16The first port of the unicast range. ports.BasePort.
port_range: u16How many ports the range holds. ports.PortRange.
session_id: StringThe session that a stream belongs to. lab.SessionID.
known_peers: Vec<String>Addresses that a resolver always sends to. lab.KnownPeers.
multicast_addresses: Vec<String>The groups that a query goes to, for the chosen scope.
multicast_ttl: u32The hop count for a multicast query.
watchdog_time_threshold: f64How long a quiet source stays connected. tuning.WatchdogTimeThreshold.
time_update_interval: f64How often the clock is measured. tuning.TimeUpdateInterval.
time_update_min_probes: u32How many probes an estimate needs. tuning.TimeUpdateMinProbes.
time_probe_count: u32How many probes one burst sends. tuning.TimeProbeCount.
time_probe_interval: f64The gap between two probes. tuning.TimeProbeInterval.
time_probe_max_rtt: f64How long a burst waits for answers. tuning.TimeProbeMaxRTT.
smoothing_halftime: f32The half-time of the smoothing filter. tuning.SmoothingHalftime.
force_default_timestamps: boolWhen true, every pushed timestamp is replaced by the current clock.
tuning.ForceDefaultTimestamps.
continuous_resolve_interval: f64The gap between two waves of a background resolver.
tuning.ContinuousResolveInterval.
multicast_min_rtt: f64The shortest time a multicast wave waits. tuning.MulticastMinRTT.
unicast_min_rtt: f64The shortest time a unicast wave waits. tuning.UnicastMinRTT.
use_protocol_version: i32The protocol version that an outlet writes. tuning.UseProtocolVersion.
allow_ipv4: boolTrue when an outlet binds an IPv4 stack. ports.IPv6.
allow_ipv6: boolTrue when an outlet binds an IPv6 stack. ports.IPv6.
source: StringWhere the values came from, for a report.