Home
last modified time | relevance | path

Searched refs:kIPv6AddressSize (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/net/dns/
Daddress_sorter_posix.cc61 IPAddressNumber prefix(entry.prefix, entry.prefix + kIPv6AddressSize); in GetPolicyValue()
71 DCHECK_EQ(kIPv6AddressSize, address.size()); in IsIPv6Multicast()
77 DCHECK_EQ(kIPv6AddressSize, address.size()); in GetIPv6MulticastScope()
82 DCHECK_EQ(kIPv6AddressSize, address.size()); in IsIPv6Loopback()
84 unsigned char kLoopback[kIPv6AddressSize] = { in IsIPv6Loopback()
88 return address == IPAddressNumber(kLoopback, kLoopback + kIPv6AddressSize); in IsIPv6Loopback()
92 DCHECK_EQ(kIPv6AddressSize, address.size()); in IsIPv6LinkLocal()
98 DCHECK_EQ(kIPv6AddressSize, address.size()); in IsIPv6SiteLocal()
106 if (address.size() == kIPv6AddressSize) { in GetScope()
Drecord_rdata.cc101 if (data.size() != kIPv6AddressSize) in Create()
106 rdata->address_.resize(kIPv6AddressSize); in Create()
107 for (unsigned i = 0; i < kIPv6AddressSize; ++i) { in Create()
Daddress_sorter_posix.h33 unsigned char prefix[kIPv6AddressSize];
Ddns_test_util.cc114 net::kIPv4AddressSize : net::kIPv6AddressSize; in Finish()
Ddns_response.cc290 ? kIPv6AddressSize : kIPv4AddressSize; in ParseToAddressList()
Ddns_config_service_win.cc338 if (address.size() != kIPv6AddressSize) in IsStatelessDiscoveryAddress()
/external/chromium/net/base/
Dip_endpoint.cc35 case kIPv6AddressSize: { in GetFamily()
61 case kIPv6AddressSize: { in ToSockAddr()
70 memcpy(&addr6->sin6_addr, &address_[0], kIPv6AddressSize); in ToSockAddr()
98 address_.assign(&bytes[0], &bytes[kIPv6AddressSize]); in FromSockAddr()
Dnet_util.h405 static const size_t kIPv6AddressSize = 16; variable
/external/chromium_org/net/base/
Dip_endpoint.cc45 case kIPv6AddressSize: in GetSockAddrFamily()
69 case kIPv6AddressSize: { in ToSockAddr()
78 memcpy(&addr6->sin6_addr, &address_[0], kIPv6AddressSize); in ToSockAddr()
Dnet_util.cc1547 case kIPv6AddressSize: in IsIPAddressReserved()
1586 *address_len = kIPv6AddressSize; in GetIPAddressFromSockAddr()
1602 } else if (address_len == kIPv6AddressSize) { in IPAddressToString()
1617 if (address_len == kIPv6AddressSize) { in IPAddressToStringWithPort()
1990 case kIPv6AddressSize: in GetAddressFamily()
2057 if (address.size() != kIPv6AddressSize) in IsIPv4Mapped()
2170 case kIPv6AddressSize: { in IsLocalhost()
2172 memcpy(&sin6_addr, &ip_number[0], kIPv6AddressSize); in IsLocalhost()
Daddress_tracker_linux.cc30 address_length = kIPv6AddressSize; in GetAddress()
Dnet_util.h58 static const size_t kIPv6AddressSize = 16; variable
/external/chromium_org/ppapi/shared_impl/private/
Dnet_address_private_impl.cc74 static const size_t kIPv6AddressSize = 16; variable
88 uint8_t address[kIPv6AddressSize];
105 return net_addr->is_ipv6 ? kIPv6AddressSize : kIPv4AddressSize; in GetAddressSize()
346 memcpy(net_addr->address, ip, kIPv6AddressSize); in CreateFromIPv6Address()
442 memcpy(net_addr->address, addr6->sin6_addr.s6_addr, kIPv6AddressSize); in SockaddrToNetAddress()
468 case kIPv6AddressSize: { in IPEndPointToNetAddress()
579 COMPILE_ASSERT(sizeof(ipv6_addr->addr) == kIPv6AddressSize, in DescribeNetAddressPrivateAsIPv6Address()
581 memcpy(ipv6_addr->addr, net_addr->address, kIPv6AddressSize); in DescribeNetAddressPrivateAsIPv6Address()
/external/chromium_org/net/udp/
Dudp_socket_libevent.cc267 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; in InternalConnect()
658 case kIPv6AddressSize: { in JoinGroup()
663 memcpy(&mreq.ipv6mr_multiaddr, &group_address[0], kIPv6AddressSize); in JoinGroup()
695 case kIPv6AddressSize: { in LeaveGroup()
700 memcpy(&mreq.ipv6mr_multiaddr, &group_address[0], kIPv6AddressSize); in LeaveGroup()
Dudp_socket_win.cc335 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; in InternalConnect()
715 case kIPv6AddressSize: { in JoinGroup()
720 memcpy(&mreq.ipv6mr_multiaddr, &group_address[0], kIPv6AddressSize); in JoinGroup()
753 case kIPv6AddressSize: { in LeaveGroup()
758 memcpy(&mreq.ipv6mr_multiaddr, &group_address[0], kIPv6AddressSize); in LeaveGroup()
/external/chromium_org/content/renderer/p2p/
Dipc_network_manager.cc64 } else if (it->address.size() == net::kIPv6AddressSize) { in OnNetworkListChanged()
/external/chromium_org/remoting/host/
Ddaemon_process.cc335 route.remote_address.size() != net::kIPv6AddressSize) { in OnClientRouteChange()
342 route.local_address.size() != net::kIPv6AddressSize) { in OnClientRouteChange()
/external/chromium_org/chrome/browser/media/
Dwebrtc_logging_handler_host.cc80 sensitive_address_number.resize(net::kIPv6AddressSize - 10); in IPAddressToSensitiveString()
81 sensitive_address_number.resize(net::kIPv6AddressSize, 0); in IPAddressToSensitiveString()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_http_asynchronous_factory.cc23 if (address.size() == net::kIPv6AddressSize) { in IPAddressToHostString()
/external/chromium_org/chrome/browser/safe_browsing/
Dclient_side_detection_service.cc638 if (size < 0 || size > static_cast<int>(net::kIPv6AddressSize) * 8) { in SetBadSubnets()
650 std::string mask(net::kIPv6AddressSize, '\x00'); in SetBadSubnets()
Dsafe_browsing_database.cc825 if (ip_number.size() != net::kIPv6AddressSize) { in ContainsMalwareIP()
837 std::string subnet(net::kIPv6AddressSize, '\0'); in ContainsMalwareIP()
838 for (size_t i = 0; i < net::kIPv6AddressSize; ++i) { in ContainsMalwareIP()
1767 std::string mask(net::kIPv6AddressSize, '\0'); in LoadIpBlacklist()
/external/chromium_org/net/cert/
Dx509_certificate_openssl.cc128 ip_addr_len != static_cast<int>(kIPv6AddressSize)) { in ParseSubjectAltName()
/external/chromium/net/socket/
Dtransport_client_socket_pool_unittest.cc1143 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size()); in TEST_F()
1176 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size()); in TEST_F()
/external/chromium_org/net/socket/
Dtransport_client_socket_pool_unittest.cc1302 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size()); in TEST_F()
1336 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size()); in TEST_F()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter.cc117 size_t expected_address_size = return_ipv6_number ? net::kIPv6AddressSize in GetLocalIp()

12