Home
last modified time | relevance | path

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

/third_party/openssl/test/helpers/
Dhandshake.c1302 int consock = INVALID_SOCKET; in create_sctp_socks() local
1350 consock = BIO_socket(family, SOCK_STREAM, IPPROTO_SCTP, 0); in create_sctp_socks()
1351 if (consock == INVALID_SOCKET) in create_sctp_socks()
1354 if (!set_sock_as_sctp(consock) in create_sctp_socks()
1355 || !BIO_connect(consock, BIO_ADDRINFO_address(res), 0) in create_sctp_socks()
1356 || !BIO_socket_nbio(consock, 1)) in create_sctp_socks()
1363 *csock = consock; in create_sctp_socks()
1365 consock = asock = INVALID_SOCKET; in create_sctp_socks()
1370 if (consock != INVALID_SOCKET) in create_sctp_socks()
1371 BIO_closesocket(consock); in create_sctp_socks()