aboutsummaryrefslogtreecommitdiffstats
path: root/src/router/mod.rs
blob: ec560b482acffff8f6eb6ba7035e993e3333f71a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod anti_replay;
mod constants;
mod device;
mod messages;
mod peer;
mod types;
mod workers;

#[cfg(test)]
mod tests;

use messages::TransportHeader;
use std::mem;

pub const SIZE_MESSAGE_PREFIX: usize = mem::size_of::<TransportHeader>();

pub use device::Device;
pub use peer::Peer;