struct SessionConfig

Defined at line 26 of file ../../src/connectivity/lib/network-device/cpp/network_device_client.h

Configuration for sessions opened by a `NetworkDeviceClient`.

Public Members

uint32_t buffer_length
uint64_t buffer_stride
uint64_t descriptor_length
uint16_t tx_header_length
uint16_t tx_tail_length
uint16_t rx_descriptor_count
uint16_t tx_descriptor_count
SessionFlags options

Public Methods

zx_status_t Validate ()

Verifies the session's configured parameters are appropriate for the constraints.

Defined at line 245 of file ../../src/connectivity/lib/network-device/cpp/network_device_client.cc