netstack3_device::pure_ip

Function 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>>
Expand description

Enqueues the given IP packet on the TX queue for the given PureIpDevice.