mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-26 17:03:43 +02:00
.
This commit is contained in:
parent
1fc4bc96d1
commit
c5ed599ef3
5 changed files with 3 additions and 4 deletions
|
@ -8,7 +8,7 @@ use crate::util::hex::HEX_CHARS;
|
|||
/// It also supports binary keys and values which will be minimally escaped but render the result not
|
||||
/// entirely human readable. Keys are serialized in natural sort order so the result can be consistently
|
||||
/// checksummed or hashed.
|
||||
#[derive(Clone, PartialEq, Eq)]
|
||||
#[derive(Clone)]
|
||||
pub struct Dictionary(BTreeMap<String, Vec<u8>>);
|
||||
|
||||
fn write_escaped<W: Write>(b: &[u8], w: &mut W) -> std::io::Result<()> {
|
||||
|
|
|
@ -15,7 +15,6 @@ pub(crate) struct FragmentedPacket {
|
|||
}
|
||||
|
||||
impl FragmentedPacket {
|
||||
#[inline(always)]
|
||||
pub fn new(ts: i64) -> Self {
|
||||
Self {
|
||||
ts_ticks: ts,
|
||||
|
|
|
@ -16,7 +16,7 @@ pub(crate) mod dictionary;
|
|||
pub(crate) mod address;
|
||||
pub(crate) mod mac;
|
||||
pub(crate) mod fragmentedpacket;
|
||||
pub(crate) mod whois;
|
||||
pub(crate) mod whoisqueue;
|
||||
|
||||
// Export some core objects into the root namespace, since these are what other code will driectly deal with.
|
||||
pub use address::Address;
|
||||
|
|
|
@ -14,7 +14,7 @@ use crate::vl1::buffer::{Buffer, PooledBufferFactory};
|
|||
use crate::vl1::path::Path;
|
||||
use crate::vl1::peer::Peer;
|
||||
use crate::vl1::protocol::*;
|
||||
use crate::vl1::whois::{WhoisQueue, QueuedPacket};
|
||||
use crate::vl1::whoisqueue::{WhoisQueue, QueuedPacket};
|
||||
use crate::vl1::rootset::RootSet;
|
||||
|
||||
/// Standard packet buffer type including pool container.
|
||||
|
|
Loading…
Add table
Reference in a new issue