netstack3_ip::multicast_forwarding

Trait MulticastForwardingDeviceContext

Source
pub trait MulticastForwardingDeviceContext<I: IpLayerIpExt>: DeviceIdContext<AnyDevice> {
    // Required method
    fn is_device_multicast_forwarding_enabled(
        &mut self,
        dev: &Self::DeviceId,
    ) -> bool;
}
Expand description

Device related functionality required by multicast forwarding.

Required Methods§

Source

fn is_device_multicast_forwarding_enabled( &mut self, dev: &Self::DeviceId, ) -> bool

True if the given device has multicast forwarding enabled.

Implementors§