Home
last modified time | relevance | path

Searched refs:IPAddressNumber (Results 1 – 25 of 181) sorted by relevance

12345678

/external/chromium_org/net/base/
Dnet_util.h51 typedef std::vector<unsigned char> IPAddressNumber; typedef
52 typedef std::vector<IPAddressNumber> IPAddressList;
111 NET_EXPORT bool IsIPAddressReserved(const IPAddressNumber& address);
152 NET_EXPORT std::string IPAddressToString(const IPAddressNumber& addr);
156 const IPAddressNumber& addr, uint16 port);
159 NET_EXPORT std::string IPAddressToPackedString(const IPAddressNumber& addr);
367 const IPAddressNumber& address);
375 IPAddressNumber* ip_number);
379 NET_EXPORT_PRIVATE IPAddressNumber ConvertIPv4NumberToIPv6Number(
380 const IPAddressNumber& ipv4_number);
[all …]
Daddress_tracker_linux_unittest.cc146 const IPAddressNumber& address, in MakeAddrMessageWithCacheInfo()
147 const IPAddressNumber& local, in MakeAddrMessageWithCacheInfo()
169 const IPAddressNumber& address, in MakeAddrMessage()
170 const IPAddressNumber& local, in MakeAddrMessage()
193 const IPAddressNumber kEmpty; in TEST_F()
194 const IPAddressNumber kAddr0(kAddress0, kAddress0 + arraysize(kAddress0)); in TEST_F()
195 const IPAddressNumber kAddr1(kAddress1, kAddress1 + arraysize(kAddress1)); in TEST_F()
196 const IPAddressNumber kAddr2(kAddress2, kAddress2 + arraysize(kAddress2)); in TEST_F()
197 const IPAddressNumber kAddr3(kAddress3, kAddress3 + arraysize(kAddress3)); in TEST_F()
227 const IPAddressNumber kEmpty; in TEST_F()
[all …]
Dnet_util.cc145 bool IPNumberPrefixCheck(const IPAddressNumber& ip_number, in IPNumberPrefixCheck()
422 IPAddressNumber host_addr; in IsHostnameNonUnique()
462 bool IsIPAddressReserved(const IPAddressNumber& host_addr) { in IsIPAddressReserved()
605 std::string IPAddressToString(const IPAddressNumber& addr) { in IPAddressToString()
609 std::string IPAddressToStringWithPort(const IPAddressNumber& addr, in IPAddressToStringWithPort()
614 std::string IPAddressToPackedString(const IPAddressNumber& addr) { in IPAddressToPackedString()
765 AddressFamily GetAddressFamily(const IPAddressNumber& address) { in GetAddressFamily()
790 IPAddressNumber* ip_number) { in ParseIPLiteralToNumber()
819 IPAddressNumber ConvertIPv4NumberToIPv6Number( in ConvertIPv4NumberToIPv6Number()
820 const IPAddressNumber& ipv4_number) { in ConvertIPv4NumberToIPv6Number()
[all …]
Dnet_util_unittest.cc72 std::string DumpIPNumber(const IPAddressNumber& v) { in DumpIPNumber()
478 IPAddressNumber number; in TEST()
487 IPAddressNumber number; in TEST()
499 IPAddressNumber number; in TEST()
507 IPAddressNumber number; in TEST()
515 IPAddressNumber ipv4_number; in TEST()
518 IPAddressNumber ipv6_number = in TEST()
528 IPAddressNumber ipv4_number; in TEST()
532 IPAddressNumber ipv6_number; in TEST()
536 IPAddressNumber ipv4mapped_number; in TEST()
[all …]
Dip_endpoint.h27 IPEndPoint(const IPAddressNumber& address, int port);
30 const IPAddressNumber& address() const { return address_; } in address()
68 IPAddressNumber address_;
/external/chromium-libpac/src/
Dnet_util.h30 typedef std::vector<unsigned char> IPAddressNumber; typedef
31 typedef std::vector<IPAddressNumber> IPAddressList;
36 IPAddressNumber* ip_number);
49 IPAddressNumber* ip_number,
62 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
63 const IPAddressNumber& ip_prefix,
Dnet_util.cc27 IPAddressNumber* ip_number) { in ParseIPLiteralToNumber()
45 IPAddressNumber ConvertIPv4NumberToIPv6Number( in ConvertIPv4NumberToIPv6Number()
46 const IPAddressNumber& ipv4_number) { in ConvertIPv4NumberToIPv6Number()
49 IPAddressNumber ipv6_number; in ConvertIPv4NumberToIPv6Number()
59 IPAddressNumber* ip_number, in ParseCIDRBlock()
90 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number, in IPNumberMatchesPrefix()
91 const IPAddressNumber& ip_prefix, in IPNumberMatchesPrefix()
/external/chromium_org/cloud_print/gcp20/prototype/
Dservice_parameters.h22 const net::IPAddressNumber& http_ipv4,
23 const net::IPAddressNumber& http_ipv6,
30 net::IPAddressNumber http_ipv4_;
31 net::IPAddressNumber http_ipv6_;
Dservice_parameters.cc17 const net::IPAddressNumber& http_ipv4, in ServiceParameters()
18 const net::IPAddressNumber& http_ipv6, in ServiceParameters()
/external/chromium_org/net/tools/quic/
Dquic_socket_utils.h26 static IPAddressNumber GetAddressFromMsghdr(struct msghdr *hdr);
56 IPAddressNumber* self_address,
66 const IPAddressNumber& self_address,
72 static size_t SetIpInfoInCmsg(const IPAddressNumber& self_address,
Dquic_socket_utils.cc26 IPAddressNumber QuicSocketUtils::GetAddressFromMsghdr(struct msghdr *hdr) { in GetAddressFromMsghdr()
46 return IPAddressNumber(addr_data, addr_data + len); in GetAddressFromMsghdr()
50 return IPAddressNumber(); in GetAddressFromMsghdr()
103 IPAddressNumber* self_address, in ReadPacket()
157 size_t QuicSocketUtils::SetIpInfoInCmsg(const IPAddressNumber& self_address, in SetIpInfoInCmsg()
183 const IPAddressNumber& self_address, in WritePacket()
Dquic_client.h126 void set_bind_to_address(IPAddressNumber address) { in set_bind_to_address()
130 IPAddressNumber bind_to_address() const { return bind_to_address_; } in bind_to_address()
185 IPAddressNumber* client_ip);
212 IPAddressNumber bind_to_address_;
/external/chromium_org/net/quic/
Dquic_address_mismatch_test.cc16 IPAddressNumber ip4_1; in TEST()
17 IPAddressNumber ip4_2; in TEST()
18 IPAddressNumber ip6_1; in TEST()
19 IPAddressNumber ip6_2; in TEST()
20 IPAddressNumber ip4_mapped_1; in TEST()
21 IPAddressNumber ip4_mapped_2; in TEST()
/external/chromium_org/net/dns/
Daddress_sorter_posix.cc56 const IPAddressNumber& address) { in GetPolicyValue()
61 IPAddressNumber prefix(entry.prefix, entry.prefix + kIPv6AddressSize); in GetPolicyValue()
70 bool IsIPv6Multicast(const IPAddressNumber& address) { in IsIPv6Multicast()
76 const IPAddressNumber& address) { in GetIPv6MulticastScope()
81 bool IsIPv6Loopback(const IPAddressNumber& address) { in IsIPv6Loopback()
88 return address == IPAddressNumber(kLoopback, kLoopback + kIPv6AddressSize); in IsIPv6Loopback()
91 bool IsIPv6LinkLocal(const IPAddressNumber& address) { in IsIPv6LinkLocal()
97 bool IsIPv6SiteLocal(const IPAddressNumber& address) { in IsIPv6SiteLocal()
105 const IPAddressNumber& address) { in GetScope()
178 IPAddressNumber address;
[all …]
Daddress_sorter_posix_unittest.cc22 typedef std::map<IPAddressNumber, IPAddressNumber> AddressMapping;
24 IPAddressNumber ParseIP(const std::string& str) { in ParseIP()
25 IPAddressNumber addr; in ParseIP()
121 void AddMapping(const IPAddressNumber& dst, const IPAddressNumber& src) { in AddMapping()
153 IPAddressNumber address = ParseIP(addr); in GetSourceInfo()
Drecord_rdata.h84 const IPAddressNumber& address() const { return address_; } in address()
89 IPAddressNumber address_;
106 const IPAddressNumber& address() const { return address_; } in address()
111 IPAddressNumber address_;
Ddns_hosts.cc113 IPAddressNumber ip; in ParseHosts()
123 IPAddressNumber new_ip; in ParseHosts()
135 IPAddressNumber& mapped_ip = hosts[key]; in ParseHosts()
/external/chromium_org/net/socket/
Dtcp_client_socket_unittest.cc25 IPAddressNumber lo_address; in TEST()
63 IPAddressNumber external_ip; in TEST()
68 IPAddressNumber lo_address; in TEST()
85 IPAddressNumber ipv6_lo_ip; in TEST()
99 IPAddressNumber ipv4_lo_ip; in TEST()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_http_asynchronous_factory_impl.cc17 std::string IPAddressToHostString(const net::IPAddressNumber& address) { in IPAddressToHostString()
89 const net::IPAddressNumber& address_ipv4, in ResolveComplete()
90 const net::IPAddressNumber& address_ipv6) { in ResolveComplete()
96 net::IPAddressNumber address = address_ipv4; in ResolveComplete()
Dservice_discovery_host_client.h112 const net::IPAddressNumber& address_ipv4,
113 const net::IPAddressNumber& address_ipv6);
127 const net::IPAddressNumber& address_ipv4,
128 const net::IPAddressNumber& address_ipv6);
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_service.cc41 using net::IPAddressNumber;
132 std::vector<IPAddressNumber>* bind_address_list) { in InsertBestBindAddressChromeOS()
135 IPAddressNumber bind_ip_address; in InsertBestBindAddressChromeOS()
164 const IPAddressNumber& bind_ip_address, in CreateAndBindSocket()
386 IPAddressNumber address; in DialServiceImpl()
441 std::vector<IPAddressNumber> chrome_os_address_list; in StartDiscovery()
460 std::vector<IPAddressNumber> ip_addresses; in SendNetworkList()
499 const std::vector<IPAddressNumber>& ip_addresses) { in DiscoverOnAddresses()
515 for (std::vector<IPAddressNumber>::const_iterator iter = ip_addresses.begin(); in DiscoverOnAddresses()
523 void DialServiceImpl::BindAndAddSocket(const IPAddressNumber& bind_ip_address) { in BindAndAddSocket()
/external/chromium_org/chrome/common/local_discovery/
Dservice_discovery_client.h41 net::IPAddressNumber ip_address;
103 const net::IPAddressNumber& /*address_ipv4*/,
104 const net::IPAddressNumber& /*address_ipv6*/)>
/external/chromium_org/net/tools/quic/test_tools/
Dpacket_dropping_test_writer.h50 const IPAddressNumber& self_address,
121 const IPAddressNumber& self_address,
127 const IPAddressNumber self_address;
/external/chromium_org/net/udp/
Dudp_socket_win.h124 int JoinGroup(const IPAddressNumber& group_address) const; in NON_EXPORTED_BASE()
133 int LeaveGroup(const IPAddressNumber& group_address) const; in NON_EXPORTED_BASE()
209 int RandomBind(const IPAddressNumber& address); in NON_EXPORTED_BASE()
/external/chromium_org/chrome/browser/net/
Ddns_probe_test_util.cc13 using net::IPAddressNumber;
24 IPAddressNumber dns_ip; in CreateMockDnsClientForProbes()

12345678