Home
last modified time | relevance | path

Searched refs:client_address (Results 1 – 25 of 83) sorted by relevance

1234

/external/python/cpython2/Lib/
DSocketServer.py285 request, client_address = self.get_request()
288 if self.verify_request(request, client_address):
290 self.process_request(request, client_address)
292 self.handle_error(request, client_address)
304 def verify_request(self, request, client_address): argument
312 def process_request(self, request, client_address): argument
318 self.finish_request(request, client_address)
329 def finish_request(self, request, client_address): argument
331 self.RequestHandlerClass(request, client_address, self)
341 def handle_error(self, request, client_address): argument
[all …]
DCGIHTTPServer.py169 if host != self.client_address[0]:
171 env['REMOTE_ADDR'] = self.client_address[0]
250 self.server.handle_error(self.request, self.client_address)
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_dispatcher_test.cc498 QuicSocketAddress client_address(QuicIpAddress::Loopback4(), 1); in VerifyVersionSupported() local
500 CreateQuicSession(connection_id, _, client_address, in VerifyVersionSupported()
503 dispatcher_.get(), config_, connection_id, client_address, in VerifyVersionSupported()
512 ProcessFirstFlight(version, client_address, connection_id); in VerifyVersionSupported()
517 QuicSocketAddress client_address(QuicIpAddress::Loopback4(), 1); in VerifyVersionNotSupported() local
519 CreateQuicSession(connection_id, _, client_address, _, _, _)) in VerifyVersionNotSupported()
522 ProcessFirstFlight(version, client_address, connection_id); in VerifyVersionNotSupported()
579 QuicSocketAddress client_address(QuicIpAddress::Loopback4(), 1); in TEST_P() local
583 CreateQuicSession(TestConnectionId(1), _, client_address, in TEST_P()
586 dispatcher_.get(), config_, TestConnectionId(1), client_address, in TEST_P()
[all …]
/external/python/cpython3/Lib/
Dsocketserver.py311 request, client_address = self.get_request()
314 if self.verify_request(request, client_address):
316 self.process_request(request, client_address)
318 self.handle_error(request, client_address)
333 def verify_request(self, request, client_address): argument
341 def process_request(self, request, client_address): argument
347 self.finish_request(request, client_address)
358 def finish_request(self, request, client_address): argument
360 self.RequestHandlerClass(request, client_address, self)
370 def handle_error(self, request, client_address): argument
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dfake_proof_source.cc25 const QuicSocketAddress& client_address, std::string hostname, in GetProofOp() argument
30 client_address_(client_address), in GetProofOp()
49 const QuicSocketAddress& client_address, std::string hostname, in ComputeSignatureOp() argument
54 client_address_(client_address), in ComputeSignatureOp()
72 const QuicSocketAddress& client_address, const std::string& hostname, in GetProof() argument
77 delegate_->GetProof(server_address, client_address, hostname, server_config, in GetProof()
83 server_address, client_address, hostname, server_config, in GetProof()
90 const QuicSocketAddress& client_address, in GetCertChain() argument
93 return delegate_->GetCertChain(server_address, client_address, hostname, in GetCertChain()
99 const QuicSocketAddress& client_address, const std::string& hostname, in ComputeTlsSignature() argument
[all …]
Dfake_proof_source_handle.h46 const QuicSocketAddress& client_address,
56 const QuicSocketAddress& client_address,
70 QuicSocketAddress client_address, in SelectCertArgs()
79 client_address(client_address), in SelectCertArgs()
91 QuicSocketAddress client_address; member
105 QuicSocketAddress client_address, std::string hostname, in ComputeSignatureArgs()
109 client_address(client_address), in ComputeSignatureArgs()
116 QuicSocketAddress client_address; member
Dfake_proof_source_handle.cc41 const QuicSocketAddress& client_address, const std::string& hostname, in ComputeSignatureNow() argument
45 server_address, client_address, hostname, signature_algorithm, in, in ComputeSignatureNow()
72 const QuicSocketAddress& client_address, in SelectCertificate() argument
84 SelectCertArgs(server_address, client_address, original_connection_id, in SelectCertificate()
106 delegate_->GetCertChain(server_address, client_address, hostname, in SelectCertificate()
120 const QuicSocketAddress& client_address, const std::string& hostname, in ComputeSignature() argument
127 ComputeSignatureArgs(server_address, client_address, hostname, in ComputeSignature()
146 ComputeSignatureNow(delegate_, server_address, client_address, hostname, in ComputeSignature()
197 delegate_->GetCertChain(args_.server_address, args_.client_address, in Run()
223 delegate_, args_.server_address, args_.client_address, args_.hostname, in Run()
Dfake_proof_source.h38 const QuicSocketAddress& client_address,
45 const QuicSocketAddress& client_address, const std::string& hostname,
49 const QuicSocketAddress& client_address, const std::string& hostname,
81 const QuicSocketAddress& client_address, std::string hostname,
104 const QuicSocketAddress& client_address,
Dfailing_proof_source.h17 const QuicSocketAddress& client_address,
25 const QuicSocketAddress& client_address, const std::string& hostname,
30 const QuicSocketAddress& client_address, const std::string& hostname,
/external/cronet/net/third_party/quiche/src/quiche/quic/tools/
Dquic_client_default_network_helper.cc77 QuicSocketAddress client_address; in CreateUDPSocketAndBind() local
79 client_address = QuicSocketAddress(bind_to_address, client_->local_port()); in CreateUDPSocketAndBind()
81 client_address = QuicSocketAddress(QuicIpAddress::Any4(), bind_to_port); in CreateUDPSocketAndBind()
83 client_address = QuicSocketAddress(QuicIpAddress::Any6(), bind_to_port); in CreateUDPSocketAndBind()
91 switch (client_address.host().address_family()) { in CreateUDPSocketAndBind()
103 sockaddr_storage addr = client_address.generic_address(); in CreateUDPSocketAndBind()
109 << ", client_address:" << client_address; in CreateUDPSocketAndBind()
113 if (client_address.FromSocket(fd) != 0) { in CreateUDPSocketAndBind()
120 fd_address_map_[fd] = client_address; in CreateUDPSocketAndBind()
/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/
Dqbone_session_test.cc79 const QuicSocketAddress& client_address, in GetProof() argument
87 GetCertChain(server_address, client_address, hostname, in GetProof()
92 proof_source_->GetProof(server_address, client_address, hostname, in GetProof()
99 const QuicSocketAddress& client_address, const std::string& hostname, in GetCertChain() argument
104 return proof_source_->GetCertChain(server_address, client_address, hostname, in GetCertChain()
110 const QuicSocketAddress& client_address, const std::string& hostname, in ComputeTlsSignature() argument
117 proof_source_->ComputeTlsSignature(server_address, client_address, hostname, in ComputeTlsSignature()
312 QuicSocketAddress client_address; in CreateClientAndServerSessions() local
314 client_address = QuicSocketAddress(QuicIpAddress::Any4(), 0); in CreateClientAndServerSessions()
316 client_address = QuicSocketAddress(QuicIpAddress::Any6(), 0); in CreateClientAndServerSessions()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/masque/
Dmasque_utils.cc54 int CreateTunInterface(const QuicIpAddress& client_address, bool server) { in CreateTunInterface() argument
55 if (!client_address.IsIPv4()) { in CreateTunInterface()
85 addr.sin_addr = client_address.GetIPv4(); in CreateTunInterface()
97 addr.sin_addr = client_address.GetIPv4(); in CreateTunInterface()
/external/python/httplib2/python2/httplib2/test/
Dminiserver.py99 request, client_address = self.get_request()
102 if self.verify_request(request, client_address):
104 self.process_request(request, client_address)
106 self.handle_error(request, client_address)
/external/cronet/net/tools/testserver/
Dtestserver_base.py62 def verify_request(self, _request, client_address): argument
63 return client_address[0] == self.server_address[0]
72 def handle_error(self, request, client_address): argument
87 SocketServer.BaseServer.handle_error(self, request, client_address)
117 def __init__(self, request, client_address, socket_server, argument
126 self, request, client_address, socket_server)
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dproof_source.h147 const QuicSocketAddress& client_address,
160 const QuicSocketAddress& client_address, const std::string& hostname,
173 const QuicSocketAddress& client_address, const std::string& hostname,
319 const QuicSocketAddress& client_address,
334 const QuicSocketAddress& client_address, const std::string& hostname,
Dproof_source_x509.h32 const QuicSocketAddress& client_address,
39 const QuicSocketAddress& client_address, const std::string& hostname,
43 const QuicSocketAddress& client_address, const std::string& hostname,
Dquic_crypto_server_config.h288 const QuicSocketAddress& client_address,
330 const QuicSocketAddress& client_address, ParsedQuicVersion version,
351 const QuicSocketAddress& client_address, const QuicClock* clock,
564 const QuicSocketAddress& client_address, QuicTransportVersion version,
581 const QuicSocketAddress& client_address, ParsedQuicVersion version, in ProcessClientHelloContext() argument
595 client_address_(client_address), in ProcessClientHelloContext()
626 QuicSocketAddress client_address() const { return client_address_; } in client_address() function
/external/openscreen/third_party/chromium_quic/demo/
Dserver.cc76 struct sockaddr_in client_address; in main() local
81 socklen_t addrlen = sizeof(client_address); in main()
83 (struct sockaddr*)(&client_address), &addrlen); in main()
89 UdpTransport transport(fd, client_address); in main()
/external/cronet/net/quic/crypto/
Dproof_source_chromium.h40 const quic::QuicSocketAddress& client_address,
49 const quic::QuicSocketAddress& client_address,
55 const quic::QuicSocketAddress& client_address,
/external/wpa_supplicant_8/hostapd/aidl/
Dhostapd.cpp747 const std::vector<uint8_t>& client_address, in forceStaDisconnection() argument
750 if (client_address.size() != ETH_ALEN) { in forceStaDisconnection()
755 res = memcmp(sta->addr, client_address.data(), ETH_ALEN); in forceStaDisconnection()
758 MAC2STR(client_address.data()), reason_code); in forceStaDisconnection()
875 const std::string& iface_name, const std::vector<uint8_t>& client_address, in forceClientDisconnect() argument
878 return forceClientDisconnectInternal(iface_name, client_address, reason_code); in forceClientDisconnect()
1137 const std::vector<uint8_t>& client_address, Ieee80211ReasonCode reason_code) in forceClientDisconnectInternal() argument
1147 result = forceStaDisconnection(hapd, client_address, in forceClientDisconnectInternal()
1155 result = forceStaDisconnection(hapd, client_address, (uint16_t) reason_code); in forceClientDisconnectInternal()
Dhostapd.h55 const std::vector<uint8_t>& client_address,
77 const std::vector<uint8_t>& client_address,
/external/cronet/net/socket/
Dudp_socket_unittest.cc415 IPEndPoint client_address; in TEST_F() local
416 EXPECT_THAT(socket.GetLocalAddress(&client_address), IsOk()); in TEST_F()
417 used_ports.push_back(client_address.port()); in TEST_F()
547 IPEndPoint client_address; in TEST_F() local
548 EXPECT_THAT(client.GetLocalAddress(&client_address), IsOk()); in TEST_F()
553 SendToSocket(&server2, foreign_message, client_address))); in TEST_F()
558 SendToSocket(&server1, simple_message, client_address))); in TEST_F()
1363 IPEndPoint client_address; in TEST_F() local
1364 EXPECT_THAT(client.GetLocalAddress(&client_address), IsOk()); in TEST_F()
1369 SendToSocket(&server, simple_message, client_address))); in TEST_F()
[all …]
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py86 if host != self.client_address[0]:
88 env['REMOTE_ADDR'] = self.client_address[0]
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c1729 uint64_t client_address, in anv_device_import_bo_from_host_ptr() argument
1772 if (client_address && client_address != gen_48b_address(bo->offset)) { in anv_device_import_bo_from_host_ptr()
1794 assert(client_address == gen_48b_address(client_address)); in anv_device_import_bo_from_host_ptr()
1800 alloc_flags, client_address); in anv_device_import_bo_from_host_ptr()
1824 uint64_t client_address, in anv_device_import_bo() argument
1897 if (client_address && client_address != gen_48b_address(bo->offset)) { in anv_device_import_bo()
1926 assert(client_address == gen_48b_address(client_address)); in anv_device_import_bo()
1932 alloc_flags, client_address); in anv_device_import_bo()
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py89 if host != self.client_address[0]:
91 env['REMOTE_ADDR'] = self.client_address[0]

1234