Lines Matching refs:bio
168 static void acpt_close_socket(BIO *bio) in acpt_close_socket() argument
172 c=(BIO_ACCEPT *)bio->ptr; in acpt_close_socket()
178 bio->num=INVALID_SOCKET; in acpt_close_socket()
202 BIO *bio=NULL,*dbio; in acpt_state() local
253 bio=BIO_new_socket(i,BIO_CLOSE); in acpt_state()
254 if (bio == NULL) goto err; in acpt_state()
256 BIO_set_callback(bio,BIO_get_callback(b)); in acpt_state()
257 BIO_set_callback_arg(bio,BIO_get_callback_arg(b)); in acpt_state()
274 if (!BIO_push(dbio,bio)) goto err; in acpt_state()
275 bio=dbio; in acpt_state()
277 if (BIO_push(b,bio) == NULL) goto err; in acpt_state()
282 if (bio != NULL) in acpt_state()
283 BIO_free(bio); in acpt_state()