aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/packet.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/packet.rs b/src/packet.rs
index f45000b..94bb053 100644
--- a/src/packet.rs
+++ b/src/packet.rs
@@ -5,6 +5,7 @@ use std::slice;
pub const PPPOE_DISCOVERY: u16 = 0x8863;
pub const PPPOE_SESSION: u16 = 0x8864;
+pub const IPV4: u16 = 0x0800;
fn ensure_minimal_buffer_size(buffer: &[u8]) -> Result<(), ParseError> {
// minimal eth + pppoe header size