netstack3_ip::device

Function is_ip_unicast_forwarding_enabled

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

Is IP packet unicast forwarding enabled?