Crate rscap

source ·
Expand description

Rust packet capture and manipulation utilities.

Modules

  • The collection of various protocol layers implemented by this library.
  • Some protocols allow for messages to be fragmented into several packets, and others additionally account for re-ordering of packets after they have arrived at an endpoint. The Sequence type can be used to perform defragmentation and reordering such that messages are returned in the correct sequence and with the proper message boundaries (where applicable).
  • Session types
  • General utility functions

Macros

  • Creates a Layer from the given layer types with the specified order of layering, returning an error if any sublayer is an incompatible payload for a given layer.
  • Creates a Layer from the given layer types with the specified order of layering.

Structs