pub trait DeviceTxOffloadSpecContext<D: DeviceStateSpec, BT: DeviceLayerTypes>: DeviceIdContext<D> {
// Required method
fn tx_offload_spec(
&self,
device: &Self::DeviceId,
) -> Option<ChecksumOffloadSpec>;
}Expand description
Context for getting the TX checksum offload specification for a device.
Required Methods§
Sourcefn tx_offload_spec(
&self,
device: &Self::DeviceId,
) -> Option<ChecksumOffloadSpec>
fn tx_offload_spec( &self, device: &Self::DeviceId, ) -> Option<ChecksumOffloadSpec>
Returns the TX checksum offload specification for device, if it has one.