1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
//! # multiprobe
//!
//! Enterprise-grade multi-protocol network probing library with advanced path analytics.
//!
//! ## Features
//!
//! ### Protocol Probes
//! - **ICMP ping** - Standard ICMP echo requests with timing
//! - **TCP probe** - TCP connect probes to any port
//! - **UDP probe** - UDP packet probes with response detection
//! - **TLS probe** - TLS handshake timing and cipher analysis
//!
//! ### Path Discovery
//! - **Traceroute** - Standard path discovery with hop-by-hop analysis
//! - **Paris Traceroute** - ECMP-aware traceroute that maintains flow consistency
//! - **Multi-path discovery** - Find all paths through load balancers
//!
//! ### Path Analytics
//! - **Jitter analysis** - Statistical latency metrics (min/max/mean/p95/p99)
//! - **MTU Discovery** - Path MTU detection with binary search
//! - **Bufferbloat detection** - Measure latency under load
//! - **Packet reordering** - Detect out-of-order delivery
//!
//! ### Classification
//! - **Path classification** - Fingerprint network paths
//! - **Protocol Differential Score** - Quantify cross-protocol behavior differences
//! - **Load balancing detection** - Identify ECMP routing
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use multiprobe::{Probe, Protocol};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), multiprobe::Error> {
//! // TCP probe with timing
//! let result = Probe::tcp("example.com", 443).send().await?;
//! println!("Latency: {:.2}ms", result.timing.total_ms());
//!
//! // Multi-protocol analysis
//! let multi = Probe::multi("example.com")
//! .tcp(80).tcp(443).udp(53)
//! .send().await?;
//! println!("Classification: {}", multi.classify());
//!
//! // Paris Traceroute (ECMP-aware)
//! let trace = Probe::paris("example.com")
//! .max_hops(30)
//! .send().await?;
//! println!("Load balancing: {}", trace.load_balancing);
//!
//! Ok(())
//! }
//! ```
pub use Error;
pub use ;
pub use ;
pub use ;
pub use ;
// Paris Traceroute exports
pub use ;
// Analytics exports
pub use ;
// TLS exports
pub use ;
// Bidirectional exports
pub use ;
/// Result type alias for multiprobe operations
pub type Result<T> = Result;