pub fn add_route<I: IpLayerIpExt, BT: IpRoutingBindingsTypes + MatcherBindingsTypes, CC: IpStateContext<I, BT>>(
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.