netstack3_ip::device

Function is_ip_device_enabled

Source
pub fn is_ip_device_enabled<I: IpDeviceIpExt, BC: IpDeviceBindingsContext<I, CC::DeviceId>, CC: IpDeviceStateContext<I, BC>>(
    core_ctx: &mut CC,
    device_id: &CC::DeviceId,
) -> bool
Expand description

Returns whether device_id is enabled for IP version I.