Home
last modified time | relevance | path

Searched refs:INVALID_SOCKET (Results 1 – 13 of 13) sorted by relevance

/openssl/test/
H A Dquic_client_test.c47 if (fd_arg == INVALID_SOCKET) { in test_quic_client_ex()
50 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_ex()
168 if (fd_arg == INVALID_SOCKET && c_fd != INVALID_SOCKET) in test_quic_client_ex()
175 return (test_quic_client_ex(INVALID_SOCKET)); in test_quic_client()
192 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_connect_first()
208 if (c_fd != INVALID_SOCKET) in test_quic_client_connect_first()
/openssl/crypto/bio/
H A Dbio_sock.c171 if (s != INVALID_SOCKET) { in BIO_sock_init()
254 int s = INVALID_SOCKET; in BIO_get_accept_socket()
259 return INVALID_SOCKET; in BIO_get_accept_socket()
262 return INVALID_SOCKET; in BIO_get_accept_socket()
268 BIO_ADDRINFO_protocol(res), 0)) == INVALID_SOCKET) { in BIO_get_accept_socket()
269 s = INVALID_SOCKET; in BIO_get_accept_socket()
276 s = INVALID_SOCKET; in BIO_get_accept_socket()
293 if (ret == (int)INVALID_SOCKET) { in BIO_accept()
316 ret = (int)INVALID_SOCKET; in BIO_accept()
439 if ((SOCKET)fd == INVALID_SOCKET) in BIO_socket_wait()
H A Dbio_sock2.c47 return INVALID_SOCKET; in BIO_socket()
54 return INVALID_SOCKET; in BIO_socket()
432 return INVALID_SOCKET; in BIO_accept_ex()
437 return INVALID_SOCKET; in BIO_accept_ex()
H A Dbss_acpt.c81 bi->num = (int)INVALID_SOCKET; in acpt_new()
98 ret->accept_sock = (int)INVALID_SOCKET; in BIO_ACCEPT_new()
122 if (c->accept_sock != (int)INVALID_SOCKET) { in acpt_close_socket()
125 c->accept_sock = (int)INVALID_SOCKET; in acpt_close_socket()
126 bio->num = (int)INVALID_SOCKET; in acpt_close_socket()
224 if (s == (int)INVALID_SOCKET) { in acpt_state()
H A Dbss_conn.c177 if (ret == (int)INVALID_SOCKET) { in conn_state()
324 bi->num = (int)INVALID_SOCKET; in conn_new()
337 if (bio->num != (int)INVALID_SOCKET) { in conn_close_socket()
342 bio->num = (int)INVALID_SOCKET; in conn_close_socket()
/openssl/apps/lib/
H A Ds_socket.c130 if (*sock == INVALID_SOCKET) { in init_client()
141 *sock = INVALID_SOCKET; in init_client()
171 *sock = INVALID_SOCKET; in init_client()
183 if (*sock == INVALID_SOCKET) { in init_client()
348 if (asock == INVALID_SOCKET && sock_family_fallback != AF_UNSPEC) { in do_server()
352 if (asock == INVALID_SOCKET in do_server()
356 if (asock != INVALID_SOCKET) in do_server()
H A Dhttp_server.c48 int acfd = (int)INVALID_SOCKET;
52 if (acfd != (int)INVALID_SOCKET) in socket_timeout()
487 acfd = (int)INVALID_SOCKET; in http_server_get_asn1_req()
/openssl/test/helpers/
H A Dhandshake.c1325 int lsock = INVALID_SOCKET, asock = INVALID_SOCKET; in create_sctp_socks()
1326 int consock = INVALID_SOCKET; in create_sctp_socks()
1345 if (lsock == INVALID_SOCKET) { in create_sctp_socks()
1356 lsock = INVALID_SOCKET; in create_sctp_socks()
1364 if (lsock == INVALID_SOCKET) in create_sctp_socks()
1375 if (consock == INVALID_SOCKET) in create_sctp_socks()
1384 if (asock == INVALID_SOCKET) in create_sctp_socks()
1389 consock = asock = INVALID_SOCKET; in create_sctp_socks()
1394 if (consock != INVALID_SOCKET) in create_sctp_socks()
1396 if (lsock != INVALID_SOCKET) in create_sctp_socks()
[all …]
H A Dssltestlib.c1025 if (afd == INVALID_SOCKET) in create_test_sockets()
1044 if (cfd == INVALID_SOCKET) in create_test_sockets()
/openssl/include/internal/
H A Dsockets.h140 # ifndef INVALID_SOCKET
141 # define INVALID_SOCKET (-1) macro
/openssl/ssl/quic/
H A Dquic_reactor.c298 *fd = INVALID_SOCKET; in poll_descriptor_to_fd()
303 || d->value.fd == INVALID_SOCKET) in poll_descriptor_to_fd()
/openssl/doc/man3/
H A DBIO_connect.pod94 BIO_socket() returns the socket number on success or B<INVALID_SOCKET>
103 B<INVALID_SOCKET> (-1) on error. When an error has occurred, the
H A DSSL_set_fd.pod58 upper limit is INVALID_SOCKET-1 (2^64 - 2), in practice the current socket()

Completed in 25 milliseconds