Function netstack3_ip::receive_ipv4_packet

source ยท
pub fn receive_ipv4_packet<BC: IpLayerBindingsContext<Ipv4, CC::DeviceId>, B: BufferMut, CC: IpLayerIngressContext<Ipv4, BC> + CounterContext<IpCounters<Ipv4>>>(
    core_ctx: &mut CC,
    bindings_ctx: &mut BC,
    device: &CC::DeviceId,
    frame_dst: Option<FrameDestination>,
    buffer: B,
)
Expand description

Receive an IPv4 packet from a device.

frame_dst specifies how this packet was received; see FrameDestination for options.