Crate xenet_datalink

source ·
Expand description

Provides functionality for interacting with the data link layer, support for sending and receiving packets.

Modules§

  • Support for sending and receiving data link layer packets using Linux’s AF_PACKET.

Structs§

  • A generic configuration type, encapsulating all options supported by each backend.
  • Fanout settings (Linux only).

Enums§

  • A channel for sending and receiving at the data link layer.
  • Type of data link channel to present (Linux only).
  • Socket fanout type (Linux only).

Traits§

  • Structure for receiving packets at the data link layer. Should be constructed using datalink_channel().
  • Trait to enable sending $packet packets.

Functions§

  • Create a new datalink channel for sending and receiving data.

Type Aliases§