Home
last modified time | relevance | path

Searched refs:kIPv4AddressSize (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/net/base/
Dip_endpoint.cc43 case kIPv4AddressSize: in GetSockAddrFamily()
58 case kIPv4AddressSize: { in ToSockAddr()
66 memcpy(&addr->sin_addr, &address_[0], kIPv4AddressSize); in ToSockAddr()
Dnet_util.cc503 case kIPv4AddressSize: in IsIPAddressReserved()
546 *address_len = kIPv4AddressSize; in GetIPAddressFromSockAddr()
586 if (address_len == kIPv4AddressSize) { in IPAddressToString()
797 case kIPv4AddressSize: in GetAddressFamily()
991 case kIPv4AddressSize: { in IsLocalhost()
Daddress_list_unittest.cc54 memset(&addr->sin_addr, i, kIPv4AddressSize); in TEST()
Dip_pattern.cc64 bool address_is_ipv4 = address.size() == kIPv4AddressSize; in Match()
Dnet_util.h54 static const size_t kIPv4AddressSize = 4; variable
Daddress_tracker_linux.cc32 address_length = kIPv4AddressSize; in GetAddress()
/external/chromium_org/net/quic/
Dquic_address_mismatch.cc40 bool first_ipv4 = (first_ip_address.size() == kIPv4AddressSize); in GetAddressMismatch()
41 bool second_ipv4 = (second_ip_address.size() == kIPv4AddressSize); in GetAddressMismatch()
Dquic_socket_address_coder.cc63 ip_length = kIPv4AddressSize; in Decode()
/external/chromium_org/ppapi/shared_impl/private/
Dnet_address_private_impl.cc73 static const size_t kIPv4AddressSize = 4; variable
105 return net_addr->is_ipv6 ? kIPv6AddressSize : kIPv4AddressSize; in GetAddressSize()
332 memcpy(net_addr->address, ip, kIPv4AddressSize); in CreateFromIPv4Address()
431 memcpy(net_addr->address, &addr4->sin_addr.s_addr, kIPv4AddressSize); in SockaddrToNetAddress()
461 case kIPv4AddressSize: { in IPEndPointToNetAddress()
559 COMPILE_ASSERT(sizeof(ipv4_addr->addr) == kIPv4AddressSize, in DescribeNetAddressPrivateAsIPv4Address()
561 memcpy(ipv4_addr->addr, net_addr->address, kIPv4AddressSize); in DescribeNetAddressPrivateAsIPv4Address()
/external/chromium_org/net/dns/
Drecord_rdata.cc68 if (data.size() != kIPv4AddressSize) in Create()
73 rdata->address_.resize(kIPv4AddressSize); in Create()
74 for (unsigned i = 0; i < kIPv4AddressSize; ++i) { in Create()
Daddress_sorter_posix.cc57 if (address.size() == kIPv4AddressSize) in GetPolicyValue()
116 } else if (address.size() == kIPv4AddressSize) { in GetScope()
Ddns_test_util.cc114 net::kIPv4AddressSize : net::kIPv6AddressSize; in Finish()
Ddns_response.cc290 ? kIPv6AddressSize : kIPv4AddressSize; in ParseToAddressList()
Ddns_config_service_posix.cc483 const IPAddressNumber kEmptyAddress(kIPv4AddressSize); in ConvertResStateToDnsConfig()
/external/chromium_org/net/udp/
Dudp_socket_libevent.cc267 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; in InternalConnect()
645 case kIPv4AddressSize: { in JoinGroup()
660 memcpy(&mreq.imr_multiaddr, &group_address[0], kIPv4AddressSize); in JoinGroup()
692 case kIPv4AddressSize: { in LeaveGroup()
697 memcpy(&mreq.imr_multiaddr, &group_address[0], kIPv4AddressSize); in LeaveGroup()
Dudp_socket_win.cc418 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; in InternalConnect()
817 case kIPv4AddressSize: { in JoinGroup()
822 memcpy(&mreq.imr_multiaddr, &group_address[0], kIPv4AddressSize); in JoinGroup()
856 case kIPv4AddressSize: { in LeaveGroup()
861 memcpy(&mreq.imr_multiaddr, &group_address[0], kIPv4AddressSize); in LeaveGroup()
/external/chromium_org/remoting/host/
Ddaemon_process.cc334 if (route.remote_address.size() != net::kIPv4AddressSize && in OnClientRouteChange()
341 if (route.local_address.size() != net::kIPv4AddressSize && in OnClientRouteChange()
/external/chromium_org/content/renderer/p2p/
Dipc_network_manager.cc81 if (it->address.size() == net::kIPv4AddressSize) { in OnNetworkListChanged()
/external/chromium_org/content/public/common/
Dcommon_param_traits.cc109 address.size() != net::kIPv4AddressSize && in Read()
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_service.cc138 && bind_ip_address.size() == net::kIPv4AddressSize) { in InsertBestBindAddressChromeOS()
169 DCHECK(bind_ip_address.size() == net::kIPv4AddressSize); in CreateAndBindSocket()
/external/chromium_org/chrome/browser/devtools/device/usb/
Dandroid_usb_socket.cc187 net::IPAddressNumber ip(net::kIPv4AddressSize); in GetPeerAddress()
/external/chromium_org/remoting/protocol/
Dfake_stream_socket.cc178 net::IPAddressNumber ip(net::kIPv4AddressSize); in GetPeerAddress()
/external/chromium_org/net/socket/
Dtransport_client_socket_pool_unittest.cc863 EXPECT_EQ(kIPv4AddressSize, endpoint.address().size()); in TEST_F()
975 EXPECT_EQ(kIPv4AddressSize, endpoint.address().size()); in TEST_F()
1064 EXPECT_EQ(kIPv4AddressSize, endpoint.address().size()); in TEST_F()
/external/chromium_org/net/cert/
Dx509_certificate_openssl.cc125 if (ip_addr_len != static_cast<int>(kIPv4AddressSize) && in ParseSubjectAltName()
/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket_unittest.cc275 net::IPEndPoint ip_endpoint(net::IPAddressNumber(net::kIPv4AddressSize), 80); in TEST_F()

12