Re-exports§
pub use self::natural::*;
Modules§
Structs§
- Buffer
Metadata - Metadata associated with a
TxBufferor anRxBuffer. - Buffer
Region - A contiguous memory region in a VMO.
- Device
Impl Info - Static device information.
DeviceImplInfomust not change for the entire lifetime of a device. - Features
- Device features reported by [
MacAddr.GetFeatures]. - MacAddr
- The type corresponding to the MacAddr protocol.
- MacAddr
GetAddress Response - MacAddr
GetFeatures Response - MacAddr
SetMode Request - Network
Device Ifc - The type corresponding to the NetworkDeviceIfc protocol.
- Network
Device IfcAdd Port Response - Network
Device IfcComplete RxRequest - Network
Device IfcComplete TxRequest - Network
Device IfcPort Status Changed Request - Network
Device IfcRemove Port Request - Network
Device IfcRequest RxSpace Request - Network
Device IfcUpdate RxBuffer Params Request - Network
Device Impl - The type corresponding to the NetworkDeviceImpl protocol.
- Network
Device Impl GetInfo Response - Network
Device Impl Init Response - Network
Device Impl Prepare VmoResponse - Network
Device Impl Queue RxSpace Request - Network
Device Impl Queue TxRequest - Network
Device Impl Release VmoRequest - Network
Device Impl Start Response - Network
Port - The type corresponding to the NetworkPort protocol.
- Network
Port GetInfo Response - Network
Port GetStatus Response - Network
Port SetActive Request - RxBuffer
- A buffer containing a single frame received by the device.
- RxBuffer
Part - A single contiguous part of an
RxBuffer, created from anRxSpaceBuffer. - RxSpace
Buffer - A buffer with allocated space to receive frames in. An
RxSpaceBuffermust always be returned as anRxBufferPartwithin anRxBuffer. - Service
- The type corresponding to the Service service. Provide NetworkDeviceImpl as a service so that it can be discovered and used by DFv1 children.
- Service
Connector - A strongly-typed service connector for the
Serviceservice. - Simple
- Supported
MacFilter Mode - Device MAC filtering modes supported.
- TxBuffer
- A transmit buffer containing a single frame.
- TxPartial
Csum Metadata - Partial checksum metadata.
- TxResult
- The result of a tx operation, reported to [
NetworkDeviceIfc] through [NetworkDeviceIfc.CompleteTx].
Enums§
- RxBuffer
Management - Parameters for Rx buffer management.
Constants§
- MAC_
SIZE - The length of an IEEE 802 MAC Address, in bytes.
- MAX_
BUFFER_ PARTS - Maximum number of disjoint parts a buffer may have.
- MAX_
MAC_ FILTER - The maximum number of multicast MAC addresses set to filter.
- MAX_
RX_ BUFFERS - The maximum number of
RxBufferstructs that could be sent in a single FIDL message while staying within the maximum message size enforced by the bindings. - MAX_
RX_ SPACE_ BUFFERS - The maximum number of
RxSpaceBufferstructs that could be sent in a single FIDL message while staying within the maximum message size enforced by the bindings. - MAX_
TX_ BUFFERS - The maximum number of
TxBufferstructs that could be sent in a single FIDL message while staying within the maximum message size enforced by the bindings. - MAX_
TX_ RESULTS - The maximum number of
TxResultstructs that could be sent in a single FIDL message while staying within the maximum message size enforced by the bindings.
Traits§
- MacAddr
Client Handler - A client handler for the MacAddr protocol.
- MacAddr
Local Client Handler - A client handler for the MacAddr protocol.
- MacAddr
Local Server Handler - A server handler for the MacAddr protocol.
- MacAddr
Server Handler - A server handler for the MacAddr protocol.
- Network
Device IfcClient Handler - A client handler for the NetworkDeviceIfc protocol.
- Network
Device IfcLocal Client Handler - A client handler for the NetworkDeviceIfc protocol.
- Network
Device IfcLocal Server Handler - A server handler for the NetworkDeviceIfc protocol.
- Network
Device IfcServer Handler - A server handler for the NetworkDeviceIfc protocol.
- Network
Device Impl Client Handler - A client handler for the NetworkDeviceImpl protocol.
- Network
Device Impl Local Client Handler - A client handler for the NetworkDeviceImpl protocol.
- Network
Device Impl Local Server Handler - A server handler for the NetworkDeviceImpl protocol.
- Network
Device Impl Server Handler - A server handler for the NetworkDeviceImpl protocol.
- Network
Port Client Handler - A client handler for the NetworkPort protocol.
- Network
Port Local Client Handler - A client handler for the NetworkPort protocol.
- Network
Port Local Server Handler - A server handler for the NetworkPort protocol.
- Network
Port Server Handler - A server handler for the NetworkPort protocol.
- Service
Handler - A service handler for the
Serviceservice.
Type Aliases§
- Buffer
Id - Buffer identifier.
- Network
Device IfcUpdate RxBuffer Params Response - Static