Expand description
WireForge Core — zero-copy network packet parsing and construction.
This crate provides:
- Protocol type definitions (EtherType, IpProtocol, etc.)
- Zero-copy packet parsers for L2-L4 protocols
- Builder-based packet constructors
- Checksum computation utilities
§no_std
This crate is no_std compatible (requires alloc).
Re-exports§
pub use util::BuildError;
Modules§
- arp
- ARP packet parser and builder (Ethernet/IPv4 hardware/protocol combination).
- ether
- Ethernet II frame parser and builder.
- gre
- GRE (Generic Routing Encapsulation) tunnel packet parser and builder. Implements RFC 2784 (base) and RFC 2890 (Key/Sequence extensions).
- icmp
- ICMP (v4) and ICMPv6 packet parsers and builders, including NDP messages.
- igmp
- IGMP (Internet Group Management Protocol) packet parser and builder. Supports IGMPv1 (RFC 1112), IGMPv2 (RFC 2236), and IGMPv3 basic (RFC 3376).
- ipv4
- IPv4 packet parser and builder.
- ipv6
- IPv6 packet parser and builder.
- tcp
- TCP packet parser and builder with option parsing.
- types
- Common protocol type definitions used across all protocol modules.
- udp
- UDP packet parser and builder.
- util
- Byte-order helpers, checksum computation, error types.
- vlan
- IEEE 802.1Q / 802.1ad VLAN tag parser.