pub trait Ipv6DiscoveredRoutesContext<BC>: DeviceIdContext<AnyDevice> {
    // Required methods
    fn add_discovered_ipv6_route(
        &mut self,
        bindings_ctx: &mut BC,
        device_id: &Self::DeviceId,
        route: Ipv6DiscoveredRoute,
    );
    fn del_discovered_ipv6_route(
        &mut self,
        bindings_ctx: &mut BC,
        device_id: &Self::DeviceId,
        route: Ipv6DiscoveredRoute,
    );
}
Expand description

An implementation of the execution context available when accessing the IPv6 route discovery state.

See Ipv6RouteDiscoveryContext::with_discovered_routes_mut.

Required Methods§

source

fn add_discovered_ipv6_route( &mut self, bindings_ctx: &mut BC, device_id: &Self::DeviceId, route: Ipv6DiscoveredRoute, )

Adds a newly discovered IPv6 route to the routing table.

source

fn del_discovered_ipv6_route( &mut self, bindings_ctx: &mut BC, device_id: &Self::DeviceId, route: Ipv6DiscoveredRoute, )

Deletes a previously discovered (now invalidated) IPv6 route from the routing table.

Implementors§