netstack3_ip::gmp

Trait GmpQueryHandler

Source
pub trait GmpQueryHandler<I: Ip, BC>: DeviceIdContext<AnyDevice> {
    // Required method
    fn gmp_is_in_group(
        &mut self,
        device: &Self::DeviceId,
        group_addr: MulticastAddr<I::Addr>,
    ) -> bool;
}
Expand description

An implementation of query operations on a Group Management Protocol (GMP).

Required Methods§

Source

fn gmp_is_in_group( &mut self, device: &Self::DeviceId, group_addr: MulticastAddr<I::Addr>, ) -> bool

Returns true if the device is a member of the group.

Implementors§

Source§

impl<I: IpExt, BT: GmpBindingsTypes, CC: GmpStateContext<I, BT>> GmpQueryHandler<I, BT> for CC