Home
last modified time | relevance | path

Searched refs:server_addr (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/examples/stunserver/
Dstunserver_main.cc45 talk_base::SocketAddress server_addr; in main() local
46 if (!server_addr.FromString(argv[1])) { in main()
54 talk_base::AsyncUDPSocket::Create(pthMain->socketserver(), server_addr); in main()
62 std::cout << "Listening at " << server_addr.ToString() << std::endl; in main()
/external/qemu/proxy/
Dproxy_http.c41 if (sock_address_equal( address, &service->server_addr )) in http_service_connect()
66 SockAddress server_addr; in proxy_http_setup() local
80 if (proxy_resolve_server(&server_addr, servername, in proxy_http_setup()
93 service->server_addr = server_addr; in proxy_http_setup()
Dproxy_http_int.h21 SockAddress server_addr; /* server address and port */ member
Dproxy_http_connector.c62 if (!socket_connect( root->socket, &service->server_addr )) { in connection_init()
Dproxy_http_rewriter.c391 if (socket_connect( root->socket, &service->server_addr ) < 0) { in rewrite_connection_init()
/external/valgrind/main/auxprogs/
Dvalgrind-listener.c240 struct sockaddr_in client_addr, server_addr; in main() local
282 server_addr.sin_family = AF_INET; in main()
283 server_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
284 server_addr.sin_port = htons(port); in main()
286 if (bind(main_sd, (struct sockaddr *) &server_addr, in main()
287 sizeof(server_addr) ) < 0) { in main()
Dvalgrind-di-server.c1038 struct sockaddr_in client_addr, server_addr; in main() local
1079 server_addr.sin_family = AF_INET; in main()
1080 server_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
1081 server_addr.sin_port = htons(port); in main()
1083 if (bind(main_sd, (struct sockaddr *) &server_addr, in main()
1084 sizeof(server_addr) ) < 0) { in main()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstunserver_unittest.cc40 static const talk_base::SocketAddress server_addr("99.99.99.1", 3478); variable
52 talk_base::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp()
64 client_->SendTo(buf, len, server_addr); in Send()
Dstunport_unittest.cc70 void CreateStunPort(const talk_base::SocketAddress& server_addr) { in CreateStunPort() argument
74 talk_base::CreateRandomString(22), server_addr)); in CreateStunPort()
82 void CreateSharedStunPort(const talk_base::SocketAddress& server_addr) { in CreateSharedStunPort() argument
92 stun_port_->set_server_addr(server_addr); in CreateSharedStunPort()
Dstunport.h85 const talk_base::SocketAddress& server_addr() const { return server_addr_; } in server_addr() function
181 const talk_base::SocketAddress& server_addr) { in Create() argument
184 username, password, server_addr); in Create()
Dstunport.cc56 const talk_base::SocketAddress& server_addr() const { return server_addr_; } in server_addr() function in cricket::StunBindingRequest
358 if (socket_->SendTo(data, size, sreq->server_addr(), options) < 0) in OnSendPacket()
Dport_unittest.cc479 const talk_base::SocketAddress& server_addr) { in CreateTurnPort() argument
483 server_addr, PROTO_UDP), in CreateTurnPort()
/external/chromium_org/net/tools/quic/
Dquic_server_test.cc29 IPEndPoint client_addr, server_addr; in DispatchPacket() local
30 dispatcher_.ProcessPacket(server_addr, client_addr, packet); in DispatchPacket()
/external/qemu/android/
Dhw-pipe-net.c494 char server_addr[PATH_MAX]; local
495 android_gles_server_path(server_addr, sizeof(server_addr));
498 pipe = (NetPipe *)netPipe_initUnix(hwpipe, _looper, server_addr);
499 D("Creating Unix OpenGLES pipe for GPU emulation: %s", server_addr);
505 pipe = (NetPipe *)netPipe_initTcp(hwpipe, _looper, server_addr);
/external/chromium_org/third_party/webrtc/base/
Dnat_unittest.cc48 SocketAddress server_addr = internal_addr; in TestSend() local
49 server_addr.SetPort(0); // Auto-select a port in TestSend()
51 nat_type, internal, server_addr, external, external_addrs[0]); in TestSend()
99 SocketAddress server_addr = internal_addr; in TestRecv() local
100 server_addr.SetPort(0); // Auto-select a port in TestRecv()
102 nat_type, internal, server_addr, external, external_addrs[0]); in TestRecv()
Dvirtualsocket_unittest.cc156 SocketAddress server_addr = socket->GetLocalAddress(); in BasicTest() local
158 EXPECT_EQ(server_addr.family(), initial_addr.family()); in BasicTest()
166 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
172 EXPECT_EQ(client1_addr, server_addr); in BasicTest()
179 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
187 EXPECT_EQ(server_addr2, server_addr); in BasicTest()
690 const SocketAddress& server_addr, in CrossFamilyConnectionTest() argument
706 AsyncSocket* server = ss_->CreateAsyncSocket(server_addr.family(), in CrossFamilyConnectionTest()
709 server->Bind(server_addr); in CrossFamilyConnectionTest()
740 const SocketAddress& server_addr, in CrossFamilyDatagramTest() argument
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnat_unittest.cc65 SocketAddress server_addr = internal_addr; in TestSend() local
66 server_addr.SetPort(0); // Auto-select a port in TestSend()
68 nat_type, internal, server_addr, external, external_addrs[0]); in TestSend()
116 SocketAddress server_addr = internal_addr; in TestRecv() local
117 server_addr.SetPort(0); // Auto-select a port in TestRecv()
119 nat_type, internal, server_addr, external, external_addrs[0]); in TestRecv()
Dvirtualsocket_unittest.cc173 SocketAddress server_addr = socket->GetLocalAddress(); in BasicTest() local
175 EXPECT_EQ(server_addr.family(), initial_addr.family()); in BasicTest()
183 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
189 EXPECT_EQ(client1_addr, server_addr); in BasicTest()
196 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
204 EXPECT_EQ(server_addr2, server_addr); in BasicTest()
707 const SocketAddress& server_addr, in CrossFamilyConnectionTest() argument
723 AsyncSocket* server = ss_->CreateAsyncSocket(server_addr.family(), in CrossFamilyConnectionTest()
726 server->Bind(server_addr); in CrossFamilyConnectionTest()
757 const SocketAddress& server_addr, in CrossFamilyDatagramTest() argument
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugEventProxy.m79 struct sockaddr_in server_addr;
80 bzero(&server_addr, sizeof(struct sockaddr_in));
81 server_addr.sin_family = AF_INET;
82 server_addr.sin_port = htons([self debuggerPort]);
83 server_addr.sin_addr.s_addr = htonl(INADDR_ANY);
84 …NSAssert1( bind(serverSocket, (struct sockaddr *)&server_addr, sizeof(struct sockaddr)) != -1, @"b…
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dconnectivitychecker_unittest.cc69 const talk_base::SocketAddress& server_addr) in FakeStunPort() argument
71 username, password, server_addr) { in FakeStunPort()
Dconnectivitychecker.cc291 nic_info->stun_server_address = static_cast<StunPort*>(port)->server_addr(); in OnStunPortComplete()
306 nic_info->stun_server_address = static_cast<StunPort*>(port)->server_addr(); in OnStunPortError()
/external/chromium_org/chrome/test/chromedriver/
Dcapabilities.cc267 std::string server_addr; in ParseUseRemoteBrowser() local
268 if (!option.GetAsString(&server_addr)) in ParseUseRemoteBrowser()
272 base::SplitString(server_addr, ':', &values); in ParseUseRemoteBrowser()