Lines Matching refs:localOnLink
387 Ip6::Prefix localOnLink; in ValidateRouterAdvert() local
395 SuccessOrQuit(otBorderRoutingGetOnLinkPrefix(sInstance, &localOnLink)); in ValidateRouterAdvert()
397 if (prefix == localOnLink) in ValidateRouterAdvert()
1011 Ip6::Prefix localOnLink; in TestSamePrefixesFromMultipleRouters() local
1033 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestSamePrefixesFromMultipleRouters()
1036 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestSamePrefixesFromMultipleRouters()
1145 Ip6::Prefix localOnLink; in TestOmrSelection() local
1165 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestOmrSelection()
1168 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestOmrSelection()
1259 Ip6::Prefix localOnLink; in TestDefaultRoute() local
1281 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestDefaultRoute()
1284 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestDefaultRoute()
1420 Ip6::Prefix localOnLink; in TestAdvNonUlaRoute() local
1442 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestAdvNonUlaRoute()
1445 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestAdvNonUlaRoute()
1583 Ip6::Prefix localOnLink; in TestLocalOnLinkPrefixDeprecation() local
1599 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestLocalOnLinkPrefixDeprecation()
1602 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestLocalOnLinkPrefixDeprecation()
1716 Ip6::Prefix localOnLink; in TestDomainPrefixAsOmr() local
1736 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestDomainPrefixAsOmr()
1739 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestDomainPrefixAsOmr()
1870 Ip6::Prefix localOnLink; in TestExtPanIdChange() local
1889 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
1892 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestExtPanIdChange()
1917 oldLocalOnLink = localOnLink; in TestExtPanIdChange()
1931 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
1932 Log("Local on-link prefix changed to %s from %s", localOnLink.ToString().AsCString(), in TestExtPanIdChange()
2054 oldLocalOnLink = localOnLink; in TestExtPanIdChange()
2061 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2062 Log("Local on-link prefix changed to %s from %s", localOnLink.ToString().AsCString(), in TestExtPanIdChange()
2141 oldLocalOnLink = localOnLink; in TestExtPanIdChange()
2150 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2151 Log("Local on-link prefix changed to %s from %s", localOnLink.ToString().AsCString(), in TestExtPanIdChange()
2188 oldPrefixes[0] = localOnLink; in TestExtPanIdChange()
2197 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2207 oldPrefixes[1] = localOnLink; in TestExtPanIdChange()
2216 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2230 oldPrefixes[2] = localOnLink; in TestExtPanIdChange()
2239 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2253 oldPrefixes[3] = localOnLink; in TestExtPanIdChange()
2262 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2267 VerifyOrQuit(oldPrefixes[2] == localOnLink); in TestExtPanIdChange()
2348 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestExtPanIdChange()
2365 Ip6::Prefix localOnLink; in TestRouterNsProbe() local
2387 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestRouterNsProbe()
2390 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestRouterNsProbe()
2515 Ip6::Prefix localOnLink; in TestConflictingPrefix() local
2538 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestConflictingPrefix()
2541 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestConflictingPrefix()
2563 …SendRouterAdvert(routerAddressA, {Rio(localOnLink, kValidLitime, NetworkData::kRoutePreferenceMedi… in TestConflictingPrefix()
2581 SendRouterAdvert(routerAddressA, {Rio(localOnLink, 0, NetworkData::kRoutePreferenceMedium)}); in TestConflictingPrefix()
2627 …SendRouterAdvert(routerAddressA, {Rio(localOnLink, kValidLitime, NetworkData::kRoutePreferenceMedi… in TestConflictingPrefix()
2644 SendRouterAdvert(routerAddressA, {Rio(localOnLink, 0, NetworkData::kRoutePreferenceMedium)}); in TestConflictingPrefix()
2684 oldLocalOnLink = localOnLink; in TestConflictingPrefix()
2685 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestConflictingPrefix()
2687 Log("Local on-link prefix is changed to %s from %s", localOnLink.ToString().AsCString(), in TestConflictingPrefix()
2711 SendRouterAdvert(routerAddressA, {Rio(localOnLink, 0, NetworkData::kRoutePreferenceMedium)}); in TestConflictingPrefix()
2731 Ip6::Prefix localOnLink; in TestSavedOnLinkPrefixes() local
2751 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestSavedOnLinkPrefixes()
2754 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestSavedOnLinkPrefixes()
2836 oldLocalOnLink = localOnLink; in TestSavedOnLinkPrefixes()
2851 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestSavedOnLinkPrefixes()
2852 Log("Local on-link prefix changed to %s from %s", localOnLink.ToString().AsCString(), in TestSavedOnLinkPrefixes()
2944 Ip6::Prefix localOnLink; in TestAutoEnableOfSrpServer() local
2971 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestAutoEnableOfSrpServer()
2974 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestAutoEnableOfSrpServer()
3071 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestAutoEnableOfSrpServer()
3074 Log("Local on-link prefix is %s", localOnLink.ToString().AsCString()); in TestAutoEnableOfSrpServer()