sniff things wip

This commit is contained in:
zedddie 2026-03-15 15:44:34 +01:00 committed by tuturuu
parent 06d4e558cd
commit e8b2411864
No known key found for this signature in database
GPG key ID: B352C3C2894405A7
2 changed files with 14 additions and 1 deletions

View file

@ -1 +1,11 @@
// Here we will recieve bytes and try to get their destanation & apply Rules for them.
use crate::config::Config;
struct PacketInfo;
pub fn sniff_raw_packets(packet: &[u8]) -> Result<PacketInfo, Box<dyn std::error::Error + Send + Sync + 'static>> {
todo!()
}
pub fn apply_rules(config: Config, pinfo: PacketInfo) {
todo!()
}