ot::Mle::ParentRloc16ForRloc16() function
Derives the router RLOC16 corresponding to the parent of a given (child) RLOC16. If @p aRloc16 itself refers to a router, then the same RLOC16 value is returned.
Syntax
inline uint16_t ParentRloc16ForRloc16(uint16_t aRloc16); Return value
The router RLOC16 corresponding to the parent associated with @p aRloc16.