packet_parser 1.5.0

A powerful and modular Rust crate for network packet parsing.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2026 Cyprien Avico avicocyprien@yahoo.com
//
// Licensed under the MIT License <LICENSE-MIT or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

pub mod arp;
pub mod ipv4;
pub mod ipv6;
pub mod profinet;

#[derive(Debug)]
pub enum InternetProtocolType {
    Arp,
    Ipv4,
    Ipv6,
    Profinet,
    Unknown(u8),
}