libpacket_core/lib.rs
1// Copyright (c) 2015 Robert Clipsham <robert@octarineparrot.com>
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! Core types and traits used for defining packet dissectors.
10#![deny(missing_docs)]
11
12mod macaddr;
13mod packet;
14pub mod types;
15
16pub use macaddr::{MacAddr, ETHER_ADDR_LEN};
17pub use packet::{
18 FromPacket, MutPacketData, MutablePacket, Packet, PacketData, PacketSize, PrimitiveValues,
19};