/third_party/node/deps/cares/src/lib/ |
D | ares__socket.c | 242 ares_bool_t is_tcp) in ares__open_connection() argument 255 int type = is_tcp ? SOCK_STREAM : SOCK_DGRAM; in ares__open_connection() 257 if ((is_tcp && server->tcp_port == 53) || in ares__open_connection() 258 (!is_tcp && server->udp_port == 53)) { in ares__open_connection() 269 saddr.sa4.sin_port = htons(is_tcp ? server->tcp_port : server->udp_port); in ares__open_connection() 278 saddr.sa6.sin6_port = htons(is_tcp ? server->tcp_port : server->udp_port); in ares__open_connection() 302 if (is_tcp) { in ares__open_connection() 354 conn->is_tcp = is_tcp; in ares__open_connection() 364 if (is_tcp) { in ares__open_connection() 388 if (is_tcp) { in ares__open_connection()
|
D | ares_getsock.c | 67 if (!active_queries && !conn->is_tcp) { in ares_getsock() 73 if (active_queries || conn->is_tcp) { in ares_getsock() 77 if (conn->is_tcp && ares__buf_len(server->tcp_send)) { in ares_getsock()
|
D | ares_fds.c | 58 if (!active_queries && !conn->is_tcp) { in ares_fds() 75 if (conn->is_tcp && ares__buf_len(server->tcp_send)) { in ares_fds()
|
D | ares__close_sockets.c | 54 if (conn->is_tcp) { in ares__close_connection() 101 if (!conn->is_tcp && channel->udp_max_queries > 0 && in ares__check_cleanup_conn()
|
D | ares_private.h | 157 ares_bool_t is_tcp; member 447 ares_bool_t is_tcp);
|
D | ares_process.c | 501 if (conn->is_tcp) { in read_packets() 535 if (conn->is_tcp) { in read_packets() 956 if (conn->is_tcp) { in ares__send_query()
|
D | ares_update_servers.c | 502 ares_bool_t is_tcp) in ares__sconfig_get_port() argument 504 unsigned short port = is_tcp ? s->tcp_port : s->udp_port; in ares__sconfig_get_port() 507 port = is_tcp ? channel->tcp_port : channel->udp_port; in ares__sconfig_get_port()
|
/third_party/lwip/ |
D | 0003-fix-the-occasional-coredump-when-the-lwip-exits.patch | 22 - int i, is_tcp; 41 - is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; 43 - free_socket(sock, is_tcp);
|
D | 0007-gazelle-fix-epoll_ctl-EPOLLET-mode-error.patch | 13 @@ -714,6 +714,13 @@ free_socket(struct lwip_sock *sock, int is_tcp) 24 freed = free_socket_locked(sock, is_tcp, &conn, &lastdata); 38 free_socket(sock, is_tcp);
|
D | 0012-fix-incomplete-resource-release-in-lwip-close.patch | 17 int is_tcp = 0; 41 free_socket(sock, is_tcp);
|
D | 0016-lstack-support-mysql-mode.patch | 124 @@ -714,13 +704,6 @@ free_socket(struct lwip_sock *sock, int is_tcp) 135 freed = free_socket_locked(sock, is_tcp, &conn, &lastdata); 231 int is_tcp = 0; 261 is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; 264 free_socket(sock, is_tcp);
|
D | 0057-same-node-gazellectl-a.patch | 35 @@ -716,6 +720,11 @@ free_socket(struct lwip_sock *sock, int is_tcp) 44 freed = free_socket_locked(sock, is_tcp, &conn, &lastdata);
|
D | 0034-add-accept4-and-epoll_create1.patch | 62 @@ -721,7 +729,7 @@ free_socket(struct lwip_sock *sock, int is_tcp)
|
D | 0002-adapt-lstack.patch | 922 is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; 934 free_socket(sock, is_tcp); 1501 + int i, is_tcp; 1520 + is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; 1522 + free_socket(sock, is_tcp);
|
/third_party/lwip/src/api/ |
D | sockets.c | 308 static int free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn, 310 static void free_socket_free_elements(int is_tcp, struct netconn *conn, union lwip_sock_lastdata *l… 388 int is_tcp = 0; in done_socket() local 400 is_tcp = sock->fd_free_pending & LWIP_SOCK_FD_FREE_TCP; in done_socket() 401 freed = free_socket_locked(sock, is_tcp, &conn, &lastdata); in done_socket() 407 free_socket_free_elements(is_tcp, conn, &lastdata); in done_socket() 557 free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn, in free_socket_locked() argument 564 sock->fd_free_pending = LWIP_SOCK_FD_FREE_FREE | (is_tcp ? LWIP_SOCK_FD_FREE_TCP : 0); in free_socket_locked() 568 LWIP_UNUSED_ARG(is_tcp); in free_socket_locked() 581 free_socket_free_elements(int is_tcp, struct netconn *conn, union lwip_sock_lastdata *lastdata) in free_socket_free_elements() argument [all …]
|
/third_party/node/src/ |
D | stream_wrap.h | 73 inline bool is_tcp() const { in is_tcp() function
|
/third_party/curl/lib/ |
D | cf-socket.c | 983 bool is_tcp; in cf_socket_open() local 1006 is_tcp = (ctx->addr.family == AF_INET in cf_socket_open() 1010 is_tcp = (ctx->addr.family == AF_INET) && in cf_socket_open() 1013 if(is_tcp && data->set.tcp_nodelay) in cf_socket_open() 1020 if(is_tcp && data->set.tcp_keepalive) in cf_socket_open()
|