ot::BorderRouter::RoutingManager::CountPeerBrs() const method
Returns the number of peer BRs found in the Network Data. The count does not include this device itself (when it itself is acting as a BR).
Syntax
uint16_t CountPeerBrs(uint32_t &aMinAge) const; Arguments
aMinAge
Reference to an `uint32_t` to return the minimum age among all peer BRs. Age is represented as seconds since appearance of the BR entry in the Network Data.
Return value
The number of peer BRs.