Searched refs:ip6Addr (Results 1 – 6 of 6) sorted by relevance
/openthread-3.7.0/tests/unit/ |
D | test_spinel_decoder.cpp | 92 const spinel_ipv6addr_t *ip6Addr; in TestDecoder() local 151 SuccessOrQuit(decoder.ReadIp6Address(ip6Addr)); in TestDecoder() 177 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestDecoder() 224 SuccessOrQuit(decoder.ReadIp6Address(ip6Addr)); in TestDecoder() 240 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestDecoder() 250 SuccessOrQuit(decoder.ReadIp6Address(ip6Addr)); in TestDecoder() 258 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestDecoder() 269 SuccessOrQuit(decoder.ReadIp6Address(ip6Addr)); in TestDecoder() 277 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestDecoder() 428 SuccessOrQuit(decoder.ReadIp6Address(ip6Addr)); in TestDecoder() [all …]
|
D | test_spinel_encoder.cpp | 107 spinel_ipv6addr_t *ip6Addr; in TestEncoder() local 155 …&b_1, &b_2, &u8, &i8, &u16, &i16, &u32, &i32, &u64, &i64, &u_1, &u_2, &u_3, &u_4, &ip6Addr, &eui48… in TestEncoder() 173 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestEncoder() 265 &u8, &utf_1, &b_1, &ip6Addr, &u16, &eui48, &u32, &i32); in TestEncoder() 273 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestEncoder() 346 &u8, &u32, &ip6Addr, &eui64, &utf_1); in TestEncoder() 353 VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0); in TestEncoder()
|
/openthread-3.7.0/src/posix/platform/ |
D | infra_if.cpp | 74 struct sockaddr_in6 *ip6Addr; in otPlatInfraIfHasAddress() local 82 ip6Addr = reinterpret_cast<sockaddr_in6 *>(addr->ifa_addr); in otPlatInfraIfHasAddress() 83 if (memcmp(&ip6Addr->sin6_addr, aAddress, sizeof(*aAddress)) == 0) in otPlatInfraIfHasAddress() 393 struct sockaddr_in6 *ip6Addr; in HasLinkLocalAddress() local 401 ip6Addr = reinterpret_cast<sockaddr_in6 *>(addr->ifa_addr); in HasLinkLocalAddress() 402 if (IN6_IS_ADDR_LINKLOCAL(&ip6Addr->sin6_addr)) in HasLinkLocalAddress() 690 struct sockaddr_in6 *ip6Addr; in DiscoverNat64PrefixDone() local 698 ip6Addr = reinterpret_cast<sockaddr_in6 *>(rp->ai_addr); in DiscoverNat64PrefixDone() 699 memcpy(&ip6Address.mFields.m8, &ip6Addr->sin6_addr.s6_addr, OT_IP6_ADDRESS_SIZE); in DiscoverNat64PrefixDone()
|
/openthread-3.7.0/tests/scripts/thread-cert/ |
D | node.py | 2084 for ip6Addr in self.get_addrs(): 2085 if re.match(config.LINK_LOCAL_REGEX_PATTERN, ip6Addr, re.I): 2086 return ip6Addr 2092 for ip6Addr in self.get_addrs(): 2093 if ((not re.match(config.LINK_LOCAL_REGEX_PATTERN, ip6Addr, re.I)) and 2094 (not re.match(config.MESH_LOCAL_PREFIX_REGEX_PATTERN, ip6Addr, re.I)) and 2095 (not re.match(config.ROUTING_LOCATOR_REGEX_PATTERN, ip6Addr, re.I))): 2096 global_address.append(ip6Addr) 2101 for ip6Addr in self.get_addrs(): 2102 if (re.match(config.MESH_LOCAL_PREFIX_REGEX_PATTERN, ip6Addr, re.I) and [all …]
|
/openthread-3.7.0/tools/harness-thci/ |
D | OpenThread_WpanCtl.py | 292 def __padIp6Addr(self, ip6Addr): argument 293 segments = ip6Addr.split(':') 978 ip6Addr = self.__stripValue(ip6AddrItem).split(' ')[0] 980 fullIp = ModuleHelper.GetFullIpv6Address(ip6Addr).lower()
|
D | OpenThread.py | 965 for ip6Addr in addrs: 966 if ip6Addr == 'Done': 969 fullIp = ModuleHelper.GetFullIpv6Address(ip6Addr).lower()
|