ot::Ip6::InterfaceIdentifier::SetLocator() method
Sets the Interface Identifier (IID) address locator field. Unlike `SetToLocator()`, this method only changes the last 2 bytes of the IID and keeps the rest of the address as before.
Arguments
aLocator
RLOC16 or ALOC16.