Function netstack3_device::pure_ip::send_ip_frame
source ยท pub fn send_ip_frame<BC, CC, I, S>(
core_ctx: &mut CC,
bindings_ctx: &mut BC,
device_id: &CC::DeviceId,
destination: IpPacketDestination<I, &DeviceId<BC>>,
packet: S,
) -> Result<(), SendFrameError<S>>where
BC: DeviceLayerTypes,
CC: TransmitQueueHandler<PureIpDevice, BC, Meta = PureIpDeviceTxQueueFrameMetadata> + ResourceCounterContext<CC::DeviceId, DeviceCounters>,
I: Ip + BroadcastIpExt,
S: Serializer,
S::Buffer: BufferMut,
Expand description
Enqueues the given IP packet on the TX queue for the given PureIpDevice
.