Searched refs:v6addr (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/base/ |
D | ipaddress.cc | 193 in6_addr v6addr = kV4MappedPrefix; in AsIPv6Address() local 194 ::memcpy(&v6addr.s6_addr[12], &u_.ip4.s_addr, sizeof(u_.ip4.s_addr)); in AsIPv6Address() 195 return IPAddress(v6addr); in AsIPv6Address() 328 in6_addr v6addr = ip.ipv6_address(); in HashIP() local 330 reinterpret_cast<const uint32_t*>(&v6addr.s6_addr); in HashIP() 360 in6_addr v6addr = ip.ipv6_address(); in TruncateIP() local 365 uint32_t* v6_as_ints = reinterpret_cast<uint32_t*>(&v6addr.s6_addr); in TruncateIP() 374 return IPAddress(v6addr); in TruncateIP() 388 in6_addr v6addr = mask.ipv6_address(); in CountIPMaskBits() local 390 reinterpret_cast<const uint32_t*>(&v6addr.s6_addr); in CountIPMaskBits()
|
D | natsocketfactory.cc | 38 in6_addr v6addr = ip.ipv6_address(); in PackAddressForNAT() local 39 memcpy(&buf[4], &v6addr, kNATEncodedIPv6AddressSize - 4); in PackAddressForNAT() 61 const in6_addr* v6addr = reinterpret_cast<const in6_addr*>(&buf[4]); in UnpackAddressFromNAT() local 62 *remote_addr = SocketAddress(IPAddress(*v6addr), port); in UnpackAddressFromNAT()
|
D | ipaddress_unittest.cc | 122 in6_addr v6addr, v6addr2; in AreEqual() local 123 v6addr = addr.ipv6_address(); in AreEqual() 125 if (0 != memcmp(&v6addr, &v6addr2, sizeof(v6addr))) { in AreEqual()
|
/external/webrtc/webrtc/p2p/base/ |
D | stun.cc | 521 in6_addr v6addr; in Read() local 525 if (!buf->ReadBytes(reinterpret_cast<char*>(&v6addr), sizeof(v6addr))) { in Read() 528 rtc::IPAddress ipaddr(v6addr); in Read() 552 in6_addr v6addr = address_.ipaddr().ipv6_address(); in Write() local 553 buf->WriteBytes(reinterpret_cast<char*>(&v6addr), sizeof(v6addr)); in Write() 582 in6_addr v6addr = ip.ipv6_address(); in GetXoredIP() local 588 uint32_t* ip_as_ints = reinterpret_cast<uint32_t*>(&v6addr.s6_addr); in GetXoredIP() 596 return rtc::IPAddress(v6addr); in GetXoredIP() 636 in6_addr v6addr = xored_ip.ipv6_address(); in Write() local 637 buf->WriteBytes(reinterpret_cast<const char*>(&v6addr), sizeof(v6addr)); in Write()
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/ |
D | ipaddr_test.py | 178 v6addr = ipaddr.IPAddress('::1') 181 self.assertRaises(TypeError, v4addr.__lt__, v6addr) 182 self.assertRaises(TypeError, v4addr.__gt__, v6addr) 186 self.assertRaises(TypeError, v6addr.__lt__, v4addr) 187 self.assertRaises(TypeError, v6addr.__gt__, v4addr) 194 v6addr = ipaddr.IPAddress('::1') 205 self.assertRaises(TypeError, lambda: v6addr < v6net) 206 self.assertRaises(TypeError, lambda: v6addr > v6net) 207 self.assertRaises(TypeError, lambda: v6net < v6addr) 208 self.assertRaises(TypeError, lambda: v6net > v6addr) [all …]
|
/external/mdnsresponder/mDNSCore/ |
D | uDNS.c | 2336 …SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *r… in mDNS_SetPrimaryInterfaceInfo() argument 2344 …if (v6addr && v6addr->type != mDNSAddrType_IPv6) { LogMsg("mDNS_SetPrimaryInterfaceInfo v6 address… in mDNS_SetPrimaryInterfaceInfo() 2350 v6Changed = !mDNSSameIPv6Address(m->AdvertisedV6.ip.v6, v6addr ? v6addr->ip.v6 : zerov6Addr); in mDNS_SetPrimaryInterfaceInfo() 2357 if (v6addr) m->AdvertisedV6 = *v6addr; else m->AdvertisedV6.ip.v6 = zerov6Addr; in mDNS_SetPrimaryInterfaceInfo() 2367 v6Changed ? "v6Changed " : "", v4addr, v6addr, router); in mDNS_SetPrimaryInterfaceInfo()
|
D | mDNSEmbeddedAPI.h | 2470 extern void mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, …
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 3126 void mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const m… in mDNS_SetPrimaryInterfaceInfo() argument 3127 { ( void ) m; ( void ) v4addr; ( void ) v6addr; ( void ) router; } in mDNS_SetPrimaryInterfaceInfo()
|