Crate pkts

Source
Expand description

pkts - A library for creating, decoding and modifying packet layers.

Modules§

dev_prelude
error
Error types for pkts.
layers
The collection of various protocol layers implemented by this library.
sequence
Packet defragmentation and re-ordering via Sequences.
session
Stateful protocol handling/tracking via Sessions.
utils
General utility functions
writer

Macros§

parse_layersalloc or std
Parses bytes into a specified sequence of Layers.
parse_layers_uncheckedalloc or std
Parses bytes into a specified sequence of Layers, panic()ing on error.