Renamed 'rtt_measurement' to verloc to avoid confusion

This commit is contained in:
Jędrzej Stuczyński
2021-06-23 15:38:52 +01:00
parent 35cddab3bd
commit 4c8f8ff1b6
13 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -13,4 +13,4 @@
// limitations under the License.
pub mod cached_packet_processor;
pub mod rtt_measurement;
pub mod verloc;
@@ -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;
@@ -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;
@@ -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;
@@ -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};