Home
last modified time | relevance | path

Searched refs:v6addr (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dipaddress.cc193 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()
Dnatsocketfactory.cc38 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()
Dipaddress_unittest.cc122 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/
Dstun.cc521 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/python/cpython3/Lib/test/
Dtest_ipaddress.py670 v6addr = ipaddress.IPv6Address(1) variable in ComparisonTests
676 v6_addresses = [v6addr, v6intf]
717 (self.v6addr, self.v6addr2),
776 v6_ordered = [self.v6addr, self.v6net, self.v6intf]
792 v6addr = ipaddress.ip_address('::1')
795 self.assertRaises(TypeError, v4addr.__lt__, v6addr)
796 self.assertRaises(TypeError, v4addr.__gt__, v6addr)
800 self.assertRaises(TypeError, v6addr.__lt__, v4addr)
801 self.assertRaises(TypeError, v6addr.__gt__, v4addr)
/external/mdnsresponder/mDNSCore/
DuDNS.c2336 …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()
DmDNSEmbeddedAPI.h2481 extern void mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, …
/external/mdnsresponder/mDNSShared/
Ddnsextd.c3126 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()