ot::NetworkData::Local::AddHasRoutePrefix() method
Adds a Has Route entry to the Thread Network data.
Arguments
aConfig
A reference to the external route configuration.
Return value
kErrorNone Successfully added the Has Route entry. kErrorInvalidArgs One or more parameters in @p aConfig were invalid. kErrorNoBufs Insufficient space to add the Has Route entry.