netstack3_ip

Function receive_ipv6_packet

Source
pub fn receive_ipv6_packet<BC: IpLayerBindingsContext<Ipv6, CC::DeviceId>, B: BufferMut, CC: IpLayerIngressContext<Ipv6, BC> + CounterContext<IpCounters<Ipv6>>>(
    core_ctx: &mut CC,
    bindings_ctx: &mut BC,
    device: &CC::DeviceId,
    frame_dst: Option<FrameDestination>,
    device_ip_layer_metadata: DeviceIpLayerMetadata,
    buffer: B,
)
Expand description

Receive an IPv6 packet from a device.

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