Home
last modified time | relevance | path

Searched refs:tcp_socket (Results 1 – 25 of 33) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_fds.c49 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_fds()
51 FD_SET(server->tcp_socket, read_fds); in ares_fds()
53 FD_SET(server->tcp_socket, write_fds); in ares_fds()
54 if (server->tcp_socket >= nfds) in ares_fds()
55 nfds = server->tcp_socket + 1; in ares_fds()
Dares__close_sockets.c48 if (server->tcp_socket != ARES_SOCKET_BAD) in ares__close_sockets()
50 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 0, 0); in ares__close_sockets()
51 ares__socket_close(channel, server->tcp_socket); in ares__close_sockets()
52 server->tcp_socket = ARES_SOCKET_BAD; in ares__close_sockets()
Dares_process.c227 if (!server->qhead || server->tcp_socket == ARES_SOCKET_BAD || in write_tcp_data()
232 if(!FD_ISSET(server->tcp_socket, write_fds)) in write_tcp_data()
236 if(server->tcp_socket != write_fd) in write_tcp_data()
246 FD_CLR(server->tcp_socket, write_fds); in write_tcp_data()
265 wcount = socket_writev(channel, server->tcp_socket, vec, (int)n); in write_tcp_data()
282 scount = socket_write(channel, server->tcp_socket, sendreq->data, sendreq->len); in write_tcp_data()
311 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 1, 0); in advance_tcp_send_queue()
377 if (server->tcp_socket == ARES_SOCKET_BAD || server->is_broken) in read_tcp_data()
381 if(!FD_ISSET(server->tcp_socket, read_fds)) in read_tcp_data()
385 if(server->tcp_socket != read_fd) in read_tcp_data()
[all …]
Dares_getsock.c51 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_getsock()
55 socks[sockindex] = server->tcp_socket; in ares_getsock()
Dares_private.h159 ares_socket_t tcp_socket; member
/external/webrtc/p2p/base/
Dbasic_packet_socket_factory.cc177 AsyncPacketSocket* tcp_socket; in CreateClientTcpSocket() local
179 tcp_socket = new cricket::AsyncStunTCPSocket(socket, false); in CreateClientTcpSocket()
181 tcp_socket = new AsyncTCPSocket(socket, false); in CreateClientTcpSocket()
186 tcp_socket->SetOption(Socket::OPT_NODELAY, 1); in CreateClientTcpSocket()
188 return tcp_socket; in CreateClientTcpSocket()
Dturn_server.cc185 cricket::AsyncStunTCPSocket* tcp_socket = in AcceptConnection() local
188 tcp_socket->SignalClose.connect(this, &TurnServer::OnInternalSocketClose); in AcceptConnection()
190 AddInternalSocket(tcp_socket, proto); in AcceptConnection()
/external/webrtc/rtc_base/
Dtest_client_unittest.cc61 std::unique_ptr<AsyncTCPSocket> tcp_socket = absl::WrapUnique( in TestTcpInternal() local
63 ASSERT_TRUE(tcp_socket != nullptr); in TestTcpInternal()
65 TestClient client(std::move(tcp_socket)); in TestTcpInternal()
/external/llvm-project/lldb/tools/lldb-server/
DAcceptor.cpp114 TCPSocket *tcp_socket = in Create() local
116 local_socket_id = [tcp_socket]() { in Create()
117 auto local_port = tcp_socket->GetLocalPortNumber(); in Create()
/external/llvm-project/lldb/source/Plugins/Platform/Android/
DPlatformAndroidRemoteGDBServer.cpp65 std::unique_ptr<TCPSocket> tcp_socket(new TCPSocket(true, false)); in FindUnusedPort() local
69 error = tcp_socket->Listen("127.0.0.1:0", 1); in FindUnusedPort()
71 port = tcp_socket->GetLocalPortNumber(); in FindUnusedPort()
/external/selinux/python/audit2allow/
Dtest_dummy_policy.cil71 (class tcp_socket (ioctl name_bind name_connect))
72 (classorder (blk_file file dir tcp_socket))
Dtest.log7 …ontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:reserved_port_t:s0 tclass=tcp_socket
9 …context=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:reserved_port_t:s0 tclass=tcp_socket
13 …ontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:reserved_port_t:s0 tclass=tcp_socket
18 …scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:mysqld_port_t:s0 tclass=tcp_socket
20 …ontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:reserved_port_t:s0 tclass=tcp_socket
37 …octlcmd=0x2a scontext=root:system_r:smbd_t:s0 tcontext=root:object_r:default_t:s0 tclass=tcp_socket
/external/mtpd/
Dmtpd.h32 int tcp_socket; member
/external/selinux/libsepol/tests/policies/test-hooks/
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
Dcmp_policy.conf25 class tcp_socket
204 class tcp_socket
/external/selinux/libsepol/tests/policies/test-expander/
Dalias-base.conf25 class tcp_socket
204 class tcp_socket
Drole-base.conf25 class tcp_socket
204 class tcp_socket
Duser-base.conf25 class tcp_socket
204 class tcp_socket
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
/external/llvm-project/lldb/source/Host/posix/
DConnectionFileDescriptorPosix.cpp211 std::unique_ptr<TCPSocket> tcp_socket; in Connect() local
212 tcp_socket = std::make_unique<TCPSocket>(fd, false, false); in Connect()
217 !!tcp_socket->GetOption(SOL_SOCKET, SO_REUSEADDR, resuse); in Connect()
219 m_read_sp = std::move(tcp_socket); in Connect()
/external/selinux/libsepol/tests/policies/test-deps/
Dbase-notmetreq.conf25 class tcp_socket
203 class tcp_socket
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
Dbase-metreq.conf25 class tcp_socket
204 class tcp_socket
/external/selinux/libsepol/tests/policies/test-linker/
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
/external/selinux/secilc/docs/
Dcil_access_vector_rules.md277 (allowx type_1 type_2 (ioctl tcp_socket (range 0x2000 0x20FF)))
325 (allowx type_1 type_2 (ioctl tcp_socket (range 0x2000 0x20FF)))
327 (auditallowx type_1 type_2 (ioctl tcp_socket (range 0x2005 0x2010)))
373 (dontauditx type_1 type_2 (ioctl tcp_socket (range 0x3000 0x30FF)))

12