summaryrefslogtreecommitdiffstats
path: root/src/router/mod.rs
blob: 8cd0d3b30b265fcf7dc63fb4ffac086139c8ea21 (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 ip;
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;