Module pure_ip

Source
Expand description

Pure IP devices.

Structs§

DynamicPureIpDeviceState
Dynamic state for a pure IP device.
PureIpDeviceCounters
Counters for pure IP devices.
PureIpDeviceCreationProperties
The parameters required to create a pure IP device.
PureIpDeviceReceiveFrameMetadata
Metadata for IP packets received on a pure IP device.
PureIpDeviceTxQueueFrameMetadata
Metadata for IP packets held in the TX queue.
PureIpHeaderParams
Metadata for sending IP packets from a device socket.

Enums§

PureIpDevice
A marker type identifying a pure IP device.

Traits§

PureIpDeviceStateContext
Provides access to a pure IP device’s state.

Functions§

get_mtu
Gets the MTU of the given PureIpDevice.
send_ip_frame
Enqueues the given IP packet on the TX queue for the given PureIpDevice.
set_mtu
Updates the MTU of the given PureIpDevice.

Type Aliases§

PureIpDeviceId
A strong device ID identifying a pure IP device.
PureIpPrimaryDeviceId
The primary reference for a pure IP device.
PureIpWeakDeviceId
A weak device ID identifying a pure IP device.