PktParse
This repository is just a bunch of packet parsing routines made with nom
Usage
Admitting your packet.data
is an [u8]
:
if let Done = parse_ethernet_frame
For now the list of available parsers is rather short:
- ethernet (with optional VLAN tag)
- IPv4
- UDP
- TCP ... but I'll gladly accept contributions.
Last changes
- IPv6 support