Module pnet::datalink
[−]
[src]
Support for sending and receiving data link layer packets
Modules
| dummy |
Support for sending and receiving data link layer packets on a fake network managed by in memory FIFO queues. Useful for writing tests. |
| 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 |
| NetworkInterface |
Represents a network interface and its associated addresses |
Enums
| Channel |
A channel for sending and receiving at the data link layer |
| ChannelType |
Type of data link channel to present (Linux only) |
Traits
| EthernetDataLinkChannelIterator |
An iterator over data link layer packets |
| EthernetDataLinkReceiver |
Structure for receiving packets at the data link layer. Should be constructed using datalink_channel(). |
| EthernetDataLinkSender |
Trait to enable sending $packet packets |
Functions
| channel |
Create a new datalink channel for sending and receiving data |
| interfaces |
Get a list of available network interfaces for the current machine. |