netstack3_ip::device

Function receive_igmp_packet

Source
pub fn receive_igmp_packet<CC, BC, B>(
    core_ctx: &mut CC,
    bindings_ctx: &mut BC,
    device: &CC::DeviceId,
    src_ip: Ipv4Addr,
    dst_ip: SpecifiedAddr<Ipv4Addr>,
    buffer: B,
)
where CC: IpDeviceConfigurationContext<Ipv4, BC>, BC: IpDeviceBindingsContext<Ipv4, CC::DeviceId>, for<'a> CC::WithIpDeviceConfigurationInnerCtx<'a>: IpDeviceStateContext<Ipv4, BC, DeviceId = CC::DeviceId> + IgmpPacketHandler<BC, CC::DeviceId>, B: BufferMut,
Expand description

Handles receipt of an IGMP packet on device.