aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 93f593e5e0afe576ef7a3b1ecc9154d5ce32763a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod auth;
pub mod config;
pub mod protocol;

// Constants
pub const DEFAULT_BUFFER_SIZE: usize = 65536; // Max UDP packet size
pub const TEST_MODE_BANNER: &str = "
╔════════════════════════════════════════════════════╗
║                     TEST MODE                      ║
║ Packets will be displayed but not sent to network  ║
╚════════════════════════════════════════════════════╝
";
pub const MAX_DISPLAY_BYTES: usize = 64; // Maximum bytes to display in test mode