Crate nex_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§

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

Functions§

channel
Creates a new datalink channel for sending and receiving raw packets.

Type Aliases§

EtherType
Type alias for an EtherType.