Renamed 'rtt_measurement' to verloc to avoid confusion
This commit is contained in:
@@ -13,4 +13,4 @@
|
||||
// limitations under the License.
|
||||
|
||||
pub mod cached_packet_processor;
|
||||
pub mod rtt_measurement;
|
||||
pub mod verloc;
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::rtt_measurement::error::RttError;
|
||||
use crate::rtt_measurement::packet::{EchoPacket, ReplyPacket};
|
||||
use crate::verloc::error::RttError;
|
||||
use crate::verloc::packet::{EchoPacket, ReplyPacket};
|
||||
use bytes::{BufMut, BytesMut};
|
||||
use crypto::asymmetric::identity;
|
||||
use futures::StreamExt;
|
||||
+3
-3
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::rtt_measurement::listener::PacketListener;
|
||||
pub use crate::rtt_measurement::measurement::{AtomicVerlocResult, Verloc, VerlocResult};
|
||||
use crate::rtt_measurement::sender::{PacketSender, TestedNode};
|
||||
use crate::verloc::listener::PacketListener;
|
||||
pub use crate::verloc::measurement::{AtomicVerlocResult, Verloc, VerlocResult};
|
||||
use crate::verloc::sender::{PacketSender, TestedNode};
|
||||
use crypto::asymmetric::identity;
|
||||
use futures::stream::FuturesUnordered;
|
||||
use futures::StreamExt;
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::rtt_measurement::error::RttError;
|
||||
use crate::verloc::error::RttError;
|
||||
use crypto::asymmetric::identity::{self, PUBLIC_KEY_LENGTH, SIGNATURE_LENGTH};
|
||||
use std::convert::TryInto;
|
||||
|
||||
+3
-3
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::rtt_measurement::error::RttError;
|
||||
use crate::rtt_measurement::measurement::Measurement;
|
||||
use crate::rtt_measurement::packet::{EchoPacket, ReplyPacket};
|
||||
use crate::verloc::error::RttError;
|
||||
use crate::verloc::measurement::Measurement;
|
||||
use crate::verloc::packet::{EchoPacket, ReplyPacket};
|
||||
use crypto::asymmetric::identity;
|
||||
use log::*;
|
||||
use rand::{thread_rng, Rng};
|
||||
Reference in New Issue
Block a user