Function netstack3_core::device::insert_static_neighbor_entry
source · pub fn insert_static_neighbor_entry<I: Ip, NonSyncCtx: NonSyncContext>(
sync_ctx: &SyncCtx<NonSyncCtx>,
ctx: &mut NonSyncCtx,
device: &DeviceId<NonSyncCtx>,
addr: I::Addr,
mac: Mac
) -> Result<(), StaticNeighborInsertionError>
Expand description
Inserts a static neighbor entry for a neighbor.