Lines Matching refs:aAddressInfo

423 static bool IsOmrAddress(otInstance *aInstance, const otIp6AddressInfo &aAddressInfo)  in IsOmrAddress()  argument
425 otIp6Prefix addressPrefix{*aAddressInfo.mAddress, aAddressInfo.mPrefixLength}; in IsOmrAddress()
431 static void UpdateUnicastLinux(otInstance *aInstance, const otIp6AddressInfo &aAddressInfo, bool aI… in UpdateUnicastLinux() argument
451 req.ifa.ifa_prefixlen = aAddressInfo.mPrefixLength; in UpdateUnicastLinux()
453 req.ifa.ifa_scope = aAddressInfo.mScope; in UpdateUnicastLinux()
456 … AddRtAttr(&req.nh, sizeof(req), IFA_LOCAL, aAddressInfo.mAddress, sizeof(*aAddressInfo.mAddress)); in UpdateUnicastLinux()
458 if (!aAddressInfo.mPreferred || aAddressInfo.mMeshLocal) in UpdateUnicastLinux()
469 if (IsOmrAddress(aInstance, aAddressInfo)) in UpdateUnicastLinux()
484 if (aAddressInfo.mScope > kLinkLocalScope) in UpdateUnicastLinux()
494 Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength); in UpdateUnicastLinux()
499 Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength); in UpdateUnicastLinux()
506 static void UpdateUnicast(otInstance *aInstance, const otIp6AddressInfo &aAddressInfo, bool aIsAdde… in UpdateUnicast() argument
514 UpdateUnicastLinux(aInstance, aAddressInfo, aIsAdded); in UpdateUnicast()
524 memcpy(&ifr6.ifra_addr.sin6_addr, aAddressInfo.mAddress, sizeof(struct in6_addr)); in UpdateUnicast()
527 InitNetaskWithPrefixLength(&ifr6.ifra_prefixmask.sin6_addr, aAddressInfo.mPrefixLength); in UpdateUnicast()
534 (aAddressInfo.mPreferred && !aAddressInfo.mMeshLocal ? ND6_INFINITE_LIFETIME : 0); in UpdateUnicast()
540 …LogInfo("%s %s/%u", (aIsAdded ? "Added" : "Removed"), Ip6AddressString(aAddressInfo.mAddress).AsCS… in UpdateUnicast()
541 aAddressInfo.mPrefixLength); in UpdateUnicast()
546 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength, strerror(errno)); in UpdateUnicast()
952 static void processAddressChange(const otIp6AddressInfo *aAddressInfo, bool aIsAdded, void *aContex… in processAddressChange() argument
954 if (aAddressInfo->mAddress->mFields.m8[0] == 0xff) in processAddressChange()
956 UpdateMulticast(static_cast<otInstance *>(aContext), *aAddressInfo->mAddress, aIsAdded); in processAddressChange()
960 UpdateUnicast(static_cast<otInstance *>(aContext), *aAddressInfo, aIsAdded); in processAddressChange()