Home
last modified time | relevance | path

Searched refs:address_family (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/net/quic/
Dquic_socket_address_coder.cc32 uint16 address_family; in Encode() local
35 address_family = kIPv4; in Encode()
38 address_family = kIPv6; in Encode()
43 serialized.append(reinterpret_cast<const char*>(&address_family), in Encode()
44 sizeof(address_family)); in Encode()
52 uint16 address_family; in Decode() local
53 if (length < sizeof(address_family)) { in Decode()
56 memcpy(&address_family, data, sizeof(address_family)); in Decode()
57 data += sizeof(address_family); in Decode()
58 length -= sizeof(address_family); in Decode()
[all …]
/external/chromium_org/net/dns/
Dhost_cache.h42 Key(const std::string& hostname, AddressFamily address_family, in NON_EXPORTED_BASE()
45 address_family(address_family), in NON_EXPORTED_BASE()
52 if (address_family != other.address_family) in NON_EXPORTED_BASE()
53 return address_family < other.address_family; in NON_EXPORTED_BASE()
60 AddressFamily address_family; in NON_EXPORTED_BASE() member
Dmock_host_resolver.cc159 if (info.address_family() != ADDRESS_FAMILY_UNSPECIFIED && in ResolveFromIPLiteralOrCache()
160 info.address_family() != GetAddressFamily(ip)) { in ResolveFromIPLiteralOrCache()
172 info.address_family(), in ResolveFromIPLiteralOrCache()
189 info.address_family(), in ResolveProc()
195 info.address_family(), in ResolveProc()
231 AddressFamily address_family; member
239 AddressFamily address_family, in Rule()
246 address_family(address_family), in Rule()
265 AddressFamily address_family, in AddRuleForAddressFamily() argument
272 address_family, in AddRuleForAddressFamily()
[all …]
Dhost_resolver_proc.cc74 AddressFamily address_family, in ResolveUsingPrevious() argument
80 host, address_family, host_resolver_flags, addrlist, os_error); in ResolveUsingPrevious()
84 return SystemHostResolverCall(host, address_family, host_resolver_flags, in ResolveUsingPrevious()
123 AddressFamily address_family, in SystemHostResolverCall() argument
133 switch (address_family) { in SystemHostResolverCall()
254 AddressFamily address_family, in Resolve() argument
259 address_family, in Resolve()
Dhost_resolver_proc.h35 AddressFamily address_family,
47 AddressFamily address_family,
89 AddressFamily address_family,
99 AddressFamily address_family,
Dmdns_client.cc55 IPEndPoint GetMDnsIPEndPoint(AddressFamily address_family) { in GetMDnsIPEndPoint() argument
56 switch (address_family) { in GetMDnsIPEndPoint()
87 AddressFamily address_family, in CreateAndBindMDnsSocket() argument
92 IPEndPoint multicast_addr = GetMDnsIPEndPoint(address_family); in CreateAndBindMDnsSocket()
Dhost_resolver.h73 AddressFamily address_family() const { return address_family_; } in address_family() function
74 void set_address_family(AddressFamily address_family) { in set_address_family() argument
75 address_family_ = address_family; in set_address_family()
173 virtual void SetDefaultAddressFamily(AddressFamily address_family) {} in SetDefaultAddressFamily() argument
Dmock_mdns_socket_factory.cc16 AddressFamily address_family) { in MockMDnsDatagramServerSocket() argument
17 local_address_ = GetMDnsIPEndPoint(address_family); in MockMDnsDatagramServerSocket()
70 AddressFamily address_family, in CreateSocket() argument
73 new testing::NiceMock<MockMDnsDatagramServerSocket>(address_family)); in CreateSocket()
Dhost_resolver_impl.cc340 static_cast<int>(info->address_family())); in NetLogRequestInfoCallback()
674 key_.address_family, in DoLookup()
791 switch(key_.address_family) { in RecordPerformanceHistograms()
812 switch(key_.address_family) { in RecordPerformanceHistograms()
1004 return key_.address_family == ADDRESS_FAMILY_UNSPECIFIED; in needs_two_transactions()
1014 if (key_.address_family == ADDRESS_FAMILY_IPV6) { in StartFirstTransaction()
1029 DCHECK_NE(ADDRESS_FAMILY_IPV6, key_.address_family); in StartA()
1036 DCHECK_NE(ADDRESS_FAMILY_IPV4, key_.address_family); in StartAAAA()
1499 key_.address_family == ADDRESS_FAMILY_UNSPECIFIED) { in OnProcTaskComplete()
1603 switch(key_.address_family) { in OnDnsTaskComplete()
[all …]
Dmdns_client.h171 NET_EXPORT IPEndPoint GetMDnsIPEndPoint(AddressFamily address_family);
182 AddressFamily address_family,
Dmock_mdns_socket_factory.h17 explicit MockMDnsDatagramServerSocket(AddressFamily address_family);
94 void CreateSocket(AddressFamily address_family,
Dhost_resolver_impl_unittest.cc57 ResolveKey(const std::string& hostname, AddressFamily address_family) in ResolveKey()
58 : hostname(hostname), address_family(address_family) {} in ResolveKey()
60 return address_family < other.address_family || in operator <()
61 (address_family == other.address_family && hostname < other.hostname); in operator <()
64 AddressFamily address_family; member
129 AddressFamily address_family, in Resolve() argument
134 capture_list_.push_back(ResolveKey(hostname, address_family)); in Resolve()
147 ResolveKey key(hostname, address_family); in Resolve()
365 AddressFamily address_family, in Resolve() argument
383 int result = ResolveUsingPrevious(host, address_family, host_resolver_flags, in Resolve()
[all …]
/external/netperf/
Dnetsh.c127 int address_family; /* which address family remote */ variable
396 address_family = AF_UNSPEC; in set_defaults()
723 address_family = parse_address_family(arg2); in scan_cmd_line()
769 address_family = AF_INET; in scan_cmd_line()
774 address_family = AF_INET6; in scan_cmd_line()
791 switch (address_family) { in scan_cmd_line()
810 address_family); in scan_cmd_line()
821 address_family); in scan_cmd_line()
834 switch (address_family) { in scan_cmd_line()
846 address_family); in scan_cmd_line()
[all …]
/external/chromium_org/chrome/utility/local_discovery/
Dservice_discovery_message_handler.cc53 net::AddressFamily address_family, in SocketInfo()
56 address_family(address_family), in SocketInfo()
60 net::AddressFamily address_family; member
85 net::CreateAndBindMDnsSocket(socket_info.address_family, in AddSocket()
254 SocketInfo(sockets[i].descriptor.fd, sockets[i].address_family, in OnSetSockets()
305 net::AddressFamily address_family) { in OnResolveLocalDomain() argument
308 base::Unretained(this), id, domain, address_family)); in OnResolveLocalDomain()
386 net::AddressFamily address_family) { in ResolveLocalDomain() argument
393 domain, address_family, in ResolveLocalDomain()
Dservice_discovery_message_handler.h68 net::AddressFamily address_family);
79 net::AddressFamily address_family);
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_host_resolver_message_filter.cc39 net::AddressFamily address_family; in PrepareRequestInfo() local
42 address_family = net::ADDRESS_FAMILY_IPV4; in PrepareRequestInfo()
45 address_family = net::ADDRESS_FAMILY_IPV6; in PrepareRequestInfo()
48 address_family = net::ADDRESS_FAMILY_UNSPECIFIED; in PrepareRequestInfo()
50 request_info->set_address_family(address_family); in PrepareRequestInfo()
/external/chromium_org/chrome/common/local_discovery/
Dlocal_discovery_messages.h23 : address_family(net::ADDRESS_FAMILY_UNSPECIFIED), in LocalDiscoveryMsg_SocketInfo()
28 net::AddressFamily address_family; member
57 IPC_STRUCT_TRAITS_MEMBER(address_family)
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_http_asynchronous_factory_impl.cc63 net::AddressFamily address_family = net::ADDRESS_FAMILY_UNSPECIFIED; in ResolutionImpl() local
66 address_family = net::ADDRESS_FAMILY_IPV6; in ResolutionImpl()
71 address_family, in ResolutionImpl()
Dprivet_traffic_detector.cc32 net::AddressFamily address_family = in GetNetworkListOnFileThread() local
34 if (address_family == net::ADDRESS_FAMILY_IPV4 && in GetNetworkListOnFileThread()
59 net::AddressFamily address_family, in PrivetTrafficDetector() argument
63 address_family_(address_family), in PrivetTrafficDetector()
Dtest_service_discovery_client.cc47 net::AddressFamily address_family, in CreateLocalDomainResolver() argument
50 domain, address_family, callback); in CreateLocalDomainResolver()
Dservice_discovery_client_utility.cc39 net::AddressFamily address_family, in CreateLocalDomainResolver() argument
42 return host_client_->CreateLocalDomainResolver(domain, address_family, in CreateLocalDomainResolver()
Dservice_discovery_host_client.cc43 socket.address_family = interfaces[i].second; in GetSocketsOnFileThread()
146 net::AddressFamily address_family, in LocalDomainResolverProxy() argument
150 address_family_(address_family), in LocalDomainResolverProxy()
208 net::AddressFamily address_family, in CreateLocalDomainResolver() argument
212 this, domain, address_family, callback)); in CreateLocalDomainResolver()
/external/chromium_org/net/socket/
Dsocket_libevent.cc67 int SocketLibevent::Open(int address_family) { in Open() argument
70 DCHECK(address_family == AF_INET || in Open()
71 address_family == AF_INET6 || in Open()
72 address_family == AF_UNIX); in Open()
75 address_family, in Open()
77 address_family == AF_UNIX ? 0 : IPPROTO_TCP); in Open()
/external/chromium_org/net/tools/quic/
Dquic_server.cc93 int address_family = address.GetSockAddrFamily(); in Listen() local
94 fd_ = socket(address_family, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in Listen()
102 int rc = QuicSocketUtils::SetGetAddressInfo(fd_, address_family); in Listen()
Dquic_client.cc113 int address_family = server_address_.GetSockAddrFamily(); in CreateUDPSocket() local
114 fd_ = socket(address_family, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in CreateUDPSocket()
139 rc = QuicSocketUtils::SetGetAddressInfo(fd_, address_family); in CreateUDPSocket()
147 } else if (address_family == AF_INET) { in CreateUDPSocket()

123