Crate netdevice_client

Source
Expand description

Client library for fidl_fuchsia_hardware_network. Contains helpers for sending frames to and receiving frames from L2/L3 network devices.

Re-exports§

pub use client::Client;
pub use client::PortStatus;
pub use error::Error;
pub use error::Result;
pub use port_slab::PortSlab;
pub use session::Buffer;
pub use session::Config;
pub use session::DerivableConfig;
pub use session::DeviceInfo;
pub use session::Port;
pub use session::Rx;
pub use session::RxLease;
pub use session::Session;
pub use session::Task;
pub use session::Tx;

Modules§

client
Fuchsia netdevice client.
error
Definition of possible errors in this crate.
port_slab
Data structure helper to keep data associated with netdevice ports.
session
Fuchsia netdevice session.

Enums§

DevicePortEvent
Port creation and destruction events.

Type Aliases§

RxBuffer
Alias for receive buffer.
TxBuffer
Alias for transmit buffer.