Re-exports§
pub use self::natural::*;
Modules§
Structs§
- Device
- The type corresponding to the Device protocol. A Network Device.
- Device
Base Info - Network device base info.
- Device
GetInfo Response - Device
Info - Network device information.
- Diagnostics
- The type corresponding to the Diagnostics protocol. Provides two way communications between device and upper layers to exchange device health information.
- Ethernet
Features - Ethernet frame sub-types and features.
- Frame
Type Support - Specifies a frame type and features and supported flags associated with that type.
- MacAddressing
- The type corresponding to the MacAddressing protocol.
- MacAddressing
AddMulticast Address Request - MacAddressing
AddMulticast Address Response - MacAddressing
GetUnicast Address Response - MacAddressing
Remove Multicast Address Request - MacAddressing
Remove Multicast Address Response - MacAddressing
SetMode Request - MacAddressing
SetMode Response - Port
- The type corresponding to the Port protocol.
A logical port belonging to a
Device. - Port
Base Info - Port base info.
- Port
GetCounters Response - Port
GetInfo Response - Port
GetStatus Response - PortId
- A device port identifier.
- Port
Info - Logical port information.
- Port
Status - Dynamic port information.
- Port
Watcher - The type corresponding to the PortWatcher protocol. Provides iteration over and updates for ports attached to a device.
- Port
Watcher Watch Response - RxFlags
- Flags set by a Device when handing a buffer to a client on the rx path.
- Service
- The type corresponding to the Service service.
- Service
Connector - A strongly-typed service connector for the
Serviceservice. - Session
- The type corresponding to the Session protocol. Represents a session with a Network device.
- Session
Attach Request - Session
Detach Request - Session
Flags - Additional session options.
- Session
Register ForTx Response - Session
Unregister ForTx Response - Status
Flags - Port status bits, reported in [
PortStatus.flags]. - Status
Watcher - The type corresponding to the StatusWatcher protocol. Provides a way to receive updates on port status changes.
- Status
Watcher Watch Status Response - TxFlags
- Flags set by a Client when handing a buffer to a device on the tx path.
- TxReturn
Flags - Flags set by a Device when returning a tx buffer back to a client.
Enums§
- Device
Port Event - Port creation and destruction events.
- Frame
Type - Types of frames.
- MacFilter
Mode - The address filtering mode supported by MAC devices.
- Port
Class - Network port class.
Constants§
- FRAME_
FEATURES_ RAW - Blanket definition for raw frames.
- MAX_
DATA_ VMOS - The maximum number of Data VMOs that may exist.
- MAX_
DESCRIPTOR_ CHAIN - Maximum number of chained descriptors that describe a single frame.
- MAX_
FRAME_ TYPES - Maximum numbers of supported frame types for rx or tx.
- MAX_
PORTS - The maximum number of ports attached to a device at a given time.
- MAX_
SESSION_ NAME - Maximum length of session label.
- MAX_
STATUS_ BUFFER - The maximum number of status samples that can be buffered by a
StatusWatcher.
Traits§
- Device
Client Handler - A client handler for the Device protocol.
- Device
Local Client Handler - A client handler for the Device protocol.
- Device
Local Server Handler - A server handler for the Device protocol.
- Device
Server Handler - A server handler for the Device protocol.
- Diagnostics
Client Handler - A client handler for the Diagnostics protocol.
- Diagnostics
Local Client Handler - A client handler for the Diagnostics protocol.
- Diagnostics
Local Server Handler - A server handler for the Diagnostics protocol.
- Diagnostics
Server Handler - A server handler for the Diagnostics protocol.
- MacAddressing
Client Handler - A client handler for the MacAddressing protocol.
- MacAddressing
Local Client Handler - A client handler for the MacAddressing protocol.
- MacAddressing
Local Server Handler - A server handler for the MacAddressing protocol.
- MacAddressing
Server Handler - A server handler for the MacAddressing protocol.
- Port
Client Handler - A client handler for the Port protocol.
- Port
Local Client Handler - A client handler for the Port protocol.
- Port
Local Server Handler - A server handler for the Port protocol.
- Port
Server Handler - A server handler for the Port protocol.
- Port
Watcher Client Handler - A client handler for the PortWatcher protocol.
- Port
Watcher Local Client Handler - A client handler for the PortWatcher protocol.
- Port
Watcher Local Server Handler - A server handler for the PortWatcher protocol.
- Port
Watcher Server Handler - A server handler for the PortWatcher protocol.
- Service
Handler - A service handler for the
Serviceservice. - Session
Client Handler - A client handler for the Session protocol.
- Session
Local Client Handler - A client handler for the Session protocol.
- Session
Local Server Handler - A server handler for the Session protocol.
- Session
Server Handler - A server handler for the Session protocol.
- Status
Watcher Client Handler - A client handler for the StatusWatcher protocol.
- Status
Watcher Local Client Handler - A client handler for the StatusWatcher protocol.
- Status
Watcher Local Server Handler - A server handler for the StatusWatcher protocol.
- Status
Watcher Server Handler - A server handler for the StatusWatcher protocol.
Type Aliases§
- Base
Port Id - The base identifier of a port within a device. Always less than
[
MAX_PORTS]. - Empty
- Session
Attach Response - Session
Detach Response - VmoId
- VMO identifier.