Crate xenet_packet

source ·
Expand description

Support for packet parsing and manipulation. Enables users to work with packets at a granular level.

Modules§

  • ARP packet abstraction.
  • An ethernet packet abstraction.
  • GRE Packet abstraction.
  • An ICMP packet abstraction.
  • An ICMPv6 packet abstraction.
  • An IPv4 packet abstraction.
  • An IPv6 packet abstraction.
  • A Linux cooked-mode capture (LINKTYPE_LINUX_SLL) packet abstraction.
  • A Linux cooked-mode capture v2 (LINKTYPE_LINUX_SLL2) packet abstraction.
  • A TCP packet abstraction.
  • A UDP packet abstraction.
  • A USB PCAP packet abstraction.
  • Utilities for working with packets, eg. checksumming.
  • A VLAN packet abstraction.

Enums§

Traits§

  • Used to convert on-the-wire packets to their #[packet] equivalent.
  • Represents a generic, mutable, network packet.
  • Represents a generic network packet.
  • Used to find the calculated size of the packet. This is used for occasions where the underlying buffer is not the same length as the packet itself.
  • Used to convert a type to primitive values representing it.