ot::NeighborTable::GetNextNeighborInfo() method
Gets the next neighbor information. It is used to iterate through the entries of the neighbor table.
Arguments
aIterator
A reference to the iterator context. To get the first neighbor entry it should be set to OT_NEIGHBOR_INFO_ITERATOR_INIT.
aNeighInfo
The neighbor information.
Return value
kErrorNone Successfully found the next neighbor entry in table. kErrorNotFound No subsequent neighbor entry exists in the table.
ot::NeighborTable::GetNextNeighborInfo() reads 5 variables and writes 1 variable:
![]()
ot::NeighborTable::GetNextNeighborInfo()