buffer flow scaffolding

This commit is contained in:
Robert Habermeier
2016-11-06 19:04:30 +01:00
parent 52abbc0643
commit 44e36596c9
3 changed files with 46 additions and 4 deletions

View File

@@ -31,6 +31,8 @@ use std::sync::atomic::{AtomicUsize, Ordering};
use provider::Provider;
use request::{self, Request};
mod buffer_flow;
const TIMEOUT: TimerToken = 0;
const TIMEOUT_INTERVAL_MS: u64 = 1000;
@@ -40,8 +42,6 @@ const PROTOCOL_VERSION: u32 = 1;
// TODO [rob] make configurable.
const PROTOCOL_ID: [u8; 3] = *b"les";
// TODO [rob] Buffer flow.
// packet ID definitions.
mod packet {
// the status packet.