Improve hook state and routing

This commit is contained in:
Michael Mikovsky
2026-05-28 14:46:47 -06:00
parent 388da93b2b
commit aeffe8b8ec
11 changed files with 492 additions and 155 deletions
+1 -2
View File
@@ -6,7 +6,7 @@ mod endpoint;
mod error;
mod packet;
pub use endpoint::Endpoint;
pub use endpoint::{Endpoint, HookID};
pub use error::*;
pub use packet::Packet;
@@ -26,7 +26,6 @@ use alloc::{
type Path = Vec<u32>;
type EndpointName = u32;
type HookID = u16;
type ConnectionSet = BTreeSet<(EndpointName, bool)>;
type HookMap = BTreeMap<HookID, EndpointName>;
type PacketQueue = VecDeque<Packet>;