Home
last modified time | relevance | path

Searched refs:is_tcp (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/api/
Dsockets.c304 static int free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn,
306 static void free_socket_free_elements(int is_tcp, struct netconn *conn, union lwip_sock_lastdata *l…
384 int is_tcp = 0; in done_socket() local
396 is_tcp = sock->fd_free_pending & LWIP_SOCK_FD_FREE_TCP; in done_socket()
397 freed = free_socket_locked(sock, is_tcp, &conn, &lastdata); in done_socket()
403 free_socket_free_elements(is_tcp, conn, &lastdata); in done_socket()
553 free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn, in free_socket_locked() argument
560 sock->fd_free_pending = LWIP_SOCK_FD_FREE_FREE | (is_tcp ? LWIP_SOCK_FD_FREE_TCP : 0); in free_socket_locked()
564 LWIP_UNUSED_ARG(is_tcp); in free_socket_locked()
577 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/
Dstream_wrap.h72 inline bool is_tcp() const { in is_tcp() function
/third_party/curl/lib/
Dconnect.c1174 bool is_tcp; in singleipconnect() local
1198 is_tcp = (addr.family == AF_INET || addr.family == AF_INET6) && in singleipconnect()
1201 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect()
1203 if(is_tcp && data->set.tcp_nodelay) in singleipconnect()
1210 if(is_tcp && data->set.tcp_keepalive) in singleipconnect()