Crate xenet_datalink

Source
Expand description

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

Modules§

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

Structs§

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

Enums§

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

Traits§

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

Functions§

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

Type Aliases§

EtherType
Type alias for an EtherType.