From 0d86be55a08b6c4ed341a2ce4a5a253e77da560f Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 17 Jun 2024 15:47:40 +0200 Subject: [PATCH] Bring back ControlMsg as public --- iroh-net/src/endpoint.rs | 2 +- iroh-net/src/magicsock.rs | 2 +- iroh-net/src/magicsock/node_map.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iroh-net/src/endpoint.rs b/iroh-net/src/endpoint.rs index a303cd4618..4e6ea7f2fd 100644 --- a/iroh-net/src/endpoint.rs +++ b/iroh-net/src/endpoint.rs @@ -47,7 +47,7 @@ pub use quinn::{ }; pub use super::magicsock::{ - ConnectionInfo, ConnectionType, ConnectionTypeStream, DirectAddr, DirectAddrInfo, + ConnectionInfo, ConnectionType, ConnectionTypeStream, ControlMsg, DirectAddr, DirectAddrInfo, DirectAddrType, DirectAddrsStream, }; diff --git a/iroh-net/src/magicsock.rs b/iroh-net/src/magicsock.rs index 804fb1d071..0107f53fc6 100644 --- a/iroh-net/src/magicsock.rs +++ b/iroh-net/src/magicsock.rs @@ -77,7 +77,7 @@ mod udp_conn; pub use self::metrics::Metrics; pub use self::node_map::{ - ConnectionType, ConnectionTypeStream, DirectAddrInfo, NodeInfo as ConnectionInfo, + ConnectionType, ConnectionTypeStream, ControlMsg, DirectAddrInfo, NodeInfo as ConnectionInfo, }; pub(super) use self::timer::Timer; diff --git a/iroh-net/src/magicsock/node_map.rs b/iroh-net/src/magicsock/node_map.rs index 4e9dd8f7f3..7e6e2e74fc 100644 --- a/iroh-net/src/magicsock/node_map.rs +++ b/iroh-net/src/magicsock/node_map.rs @@ -31,7 +31,7 @@ use crate::{ mod best_addr; mod node_state; -pub use node_state::{ConnectionType, DirectAddrInfo, NodeInfo}; +pub use node_state::{ConnectionType, ControlMsg, DirectAddrInfo, NodeInfo}; pub(super) use node_state::{DiscoPingPurpose, PingAction, PingRole, SendPing}; /// Number of nodes that are inactive for which we keep info about. This limit is enforced