summaryrefslogtreecommitdiffstats
path: root/src/router/messages.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/messages.rs')
-rw-r--r--src/router/messages.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/router/messages.rs b/src/router/messages.rs
index bec24ac..e7b592b 100644
--- a/src/router/messages.rs
+++ b/src/router/messages.rs
@@ -2,6 +2,8 @@ use byteorder::LittleEndian;
use zerocopy::byteorder::{U32, U64};
use zerocopy::{AsBytes, ByteSlice, FromBytes, LayoutVerified};
+pub const TYPE_TRANSPORT: u8 = 4;
+
#[repr(packed)]
#[derive(Copy, Clone, FromBytes, AsBytes)]
pub struct TransportHeader {