Trait IpDeviceConfirmReachableContext

Source
pub trait IpDeviceConfirmReachableContext<I: IpLayerIpExt, BC>: DeviceIdContext<AnyDevice> {
    // Required method
    fn confirm_reachable(
        &mut self,
        bindings_ctx: &mut BC,
        device: &Self::DeviceId,
        neighbor: SpecifiedAddr<I::Addr>,
    );
}
Expand description

Provides the ability to check neighbor reachability via a specific device.

Required Methods§

Source

fn confirm_reachable( &mut self, bindings_ctx: &mut BC, device: &Self::DeviceId, neighbor: SpecifiedAddr<I::Addr>, )

Confirm transport-layer forward reachability to the specified neighbor through the specified device.

Implementors§

impl<BC: BindingsContext, L: LockBefore<IpDeviceConfiguration<Ipv4>>> IpDeviceConfirmReachableContext<Ipv4, BC> for CoreCtx<'_, BC, L>

impl<BC: BindingsContext, L: LockBefore<IpDeviceConfiguration<Ipv6>>> IpDeviceConfirmReachableContext<Ipv6, BC> for CoreCtx<'_, BC, L>