Searched refs:accept_sock (Results 1 – 2 of 2) sorted by relevance
78 int accept_sock; member145 ret->accept_sock = -1; in BIO_ACCEPT_new()168 if (c->accept_sock != -1) { in acpt_close_socket()169 shutdown(c->accept_sock, SHUT_RDWR); in acpt_close_socket()170 close(c->accept_sock); in acpt_close_socket()171 c->accept_sock = -1; in acpt_close_socket()220 c->accept_sock = s; in acpt_state()232 i = BIO_accept(c->accept_sock, &(c->addr)); in acpt_state()371 data->accept_sock = b->num; in acpt_ctrl()380 *ip = data->accept_sock; in acpt_ctrl()[all …]
220 int accept_sock, connect_sock; in tcp_pair() local240 accept_sock = accept(listen_sock, (struct sockaddr *)&sin, &len); in tcp_pair()241 if (accept_sock < 0) in tcp_pair()246 sock[0] = accept_sock; in tcp_pair()