Home
last modified time | relevance | path

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

12

/external/c-ares/
Dares_fds.c53 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_fds()
55 FD_SET(server->tcp_socket, read_fds); in ares_fds()
57 FD_SET(server->tcp_socket, write_fds); in ares_fds()
58 if (server->tcp_socket >= nfds) in ares_fds()
59 nfds = server->tcp_socket + 1; in ares_fds()
Dares__close_sockets.c53 if (server->tcp_socket != ARES_SOCKET_BAD) in ares__close_sockets()
55 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 0, 0); in ares__close_sockets()
56 sclose(server->tcp_socket); in ares__close_sockets()
57 server->tcp_socket = ARES_SOCKET_BAD; in ares__close_sockets()
Dares_process.c228 if (!server->qhead || server->tcp_socket == ARES_SOCKET_BAD || in write_tcp_data()
233 if(!FD_ISSET(server->tcp_socket, write_fds)) in write_tcp_data()
237 if(server->tcp_socket != write_fd) in write_tcp_data()
247 FD_CLR(server->tcp_socket, write_fds); in write_tcp_data()
266 wcount = (ssize_t)writev(server->tcp_socket, vec, (int)n); in write_tcp_data()
283 scount = swrite(server->tcp_socket, sendreq->data, sendreq->len); in write_tcp_data()
312 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 1, 0); in advance_tcp_send_queue()
346 if (server->tcp_socket == ARES_SOCKET_BAD || server->is_broken) in read_tcp_data()
350 if(!FD_ISSET(server->tcp_socket, read_fds)) in read_tcp_data()
354 if(server->tcp_socket != read_fd) in read_tcp_data()
[all …]
Dares_getsock.c57 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_getsock()
61 socks[sockindex] = server->tcp_socket; in ares_getsock()
Dares_private.h145 ares_socket_t tcp_socket; member
/external/curl/docs/examples/
Dasiohiper.cpp179 static void event_cb(GlobalInfo *g, boost::asio::ip::tcp::socket *tcp_socket, in event_cb() argument
185 rc = curl_multi_socket_action(g->multi, tcp_socket->native_handle(), action, in event_cb()
237 boost::asio::ip::tcp::socket * tcp_socket = it->second; in setsock() local
245 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
246 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
252 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
253 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
259 tcp_socket->async_read_some(boost::asio::null_buffers(), in setsock()
260 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
262 tcp_socket->async_write_some(boost::asio::null_buffers(), in setsock()
[all …]
/external/webrtc/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc164 AsyncPacketSocket* tcp_socket; in CreateClientTcpSocket() local
166 tcp_socket = new cricket::AsyncStunTCPSocket(socket, false); in CreateClientTcpSocket()
168 tcp_socket = new rtc::AsyncTCPSocket(socket, false); in CreateClientTcpSocket()
173 tcp_socket->SetOption(rtc::Socket::OPT_NODELAY, 1); in CreateClientTcpSocket()
175 return tcp_socket; in CreateClientTcpSocket()
Dturnserver.cc178 cricket::AsyncStunTCPSocket* tcp_socket = in AcceptConnection() local
181 tcp_socket->SignalClose.connect(this, &TurnServer::OnInternalSocketClose); in AcceptConnection()
183 AddInternalSocket(tcp_socket, proto); in AcceptConnection()
Drelayserver.cc563 rtc::AsyncTCPSocket* tcp_socket = in AcceptConnection() local
567 AddInternalSocket(tcp_socket); in AcceptConnection()
/external/webrtc/webrtc/base/
Dtestclient_unittest.cc40 AsyncTCPSocket* tcp_socket = AsyncTCPSocket::Create( in TestTcpInternal() local
42 ASSERT_TRUE(tcp_socket != NULL); in TestTcpInternal()
44 TestClient client(tcp_socket); in TestTcpInternal()
/external/mtpd/
Dmtpd.h32 int tcp_socket; member
/external/selinux/libsepol/tests/policies/test-hooks/
Dcmp_policy.conf25 class tcp_socket
204 class tcp_socket
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
/external/selinux/python/audit2allow/
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
/external/selinux/libsepol/tests/policies/test-expander/
Drole-base.conf25 class tcp_socket
204 class tcp_socket
Duser-base.conf25 class tcp_socket
204 class tcp_socket
Dalias-base.conf25 class tcp_socket
204 class tcp_socket
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
/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)))
Dcil_class_and_permission_statements.md520 (permissionx ioctl_1 (ioctl tcp_socket (0x2000 0x3000 0x4000)))
521 (permissionx ioctl_2 (ioctl tcp_socket (range 0x6000 0x60FF)))
522 (permissionx ioctl_3 (ioctl tcp_socket (and (range 0x8000 0x90FF) (not (range 0x8100 0x82FF)))))
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf15 class tcp_socket
70 sid tcp_socket
190 class tcp_socket
1514 allow kernel_t port_type:tcp_socket { send_msg recv_msg name_connect };
1516 allow kernel_t port_type:{ tcp_socket udp_socket rawip_socket } name_bind;
1517 allow kernel_t node_type:{ tcp_socket udp_socket rawip_socket } node_bind;
1528 …allow kernel_t domain:{ { tcp_socket udp_socket rawip_socket netlink_socket packet_socket unix_str…
1650 constrain { tcp_socket udp_socket rawip_socket netlink_socket packet_socket unix_stream_socket unix…
1677 sid tcp_socket system_u:object_r:unlabeled_t:s0

12