pub fn add_route<I: IpLayerIpExt, CC: IpRouteTablesContext<I>>(
core_ctx: &mut CC,
entry: AddableEntry<I::Addr, CC::DeviceId>,
) -> Result<(), AddRouteError>where
CC::DeviceId: PartialOrd,
Expand description
Add a route directly to the routing table, instead of merely dispatching an event requesting that the route be added.