Lines Matching refs:accept_sock
26 int accept_sock; member
98 ret->accept_sock = (int)INVALID_SOCKET; in BIO_ACCEPT_new()
122 if (c->accept_sock != (int)INVALID_SOCKET) { in acpt_close_socket()
123 shutdown(c->accept_sock, 2); in acpt_close_socket()
124 closesocket(c->accept_sock); in acpt_close_socket()
125 c->accept_sock = (int)INVALID_SOCKET; in acpt_close_socket()
239 c->accept_sock = s; in acpt_state()
247 if (!BIO_listen(c->accept_sock, in acpt_state()
250 BIO_closesocket(c->accept_sock); in acpt_state()
259 if (!BIO_sock_info(c->accept_sock, BIO_SOCK_INFO_ADDRESS, in acpt_state()
261 BIO_closesocket(c->accept_sock); in acpt_state()
288 s = BIO_accept_ex(c->accept_sock, &c->cache_peer_addr, in acpt_state()
472 data->accept_sock = b->num; in acpt_ctrl()
481 *ip = data->accept_sock; in acpt_ctrl()
482 ret = data->accept_sock; in acpt_ctrl()