Lines Matching defs:adev

299 	isc_socket_newconnev_t	*adev; /* accept() done event */
362 static void send_acceptdone_event(isc_socket_t *sock, isc_socket_newconnev_t **adev);
1927 send_acceptdone_event(isc_socket_t *sock, isc_socket_newconnev_t **adev) {
1930 INSIST(adev != NULL && *adev != NULL);
1932 task = (*adev)->ev_sender;
1933 (*adev)->ev_sender = sock;
1935 if (ISC_LINK_LINKED(*adev, ev_link))
1936 ISC_LIST_DEQUEUE(sock->accept_list, *adev, ev_link);
1938 isc_task_sendanddetach(&task, (isc_event_t **)adev);
1972 isc_socket_newconnev_t *adev;
1995 adev = lpo->adev;
2000 if (!acceptdone_is_active(sock, adev))
2003 nsock = adev->newsocket;
2008 ISC_LIST_UNLINK(sock->accept_list, adev, ev_link);
2018 memmove(&adev->address.type, remoteaddr, remoteaddr_len);
2019 adev->address.length = remoteaddr_len;
2020 nsock->address = adev->address;
2021 nsock->pf = adev->address.type.sa.sa_family;
2027 result = make_nonblock(adev->newsocket->fd);
2033 use_min_mtu(adev->newsocket);
2055 adev->result = result;
2056 send_acceptdone_event(sock, &adev);
2342 isc_socket_t *nsock = lpo->adev->newsocket;
2482 if (acceptdone_is_active(sock, lpo->adev)) {
2497 if (acceptdone_is_active(sock, lpo->adev)) {
2498 closesocket(lpo->adev->newsocket->fd);
2499 lpo->adev->newsocket->fd = INVALID_SOCKET;
2500 lpo->adev->newsocket->references--;
2501 free_socket(&lpo->adev->newsocket, __LINE__);
2502 lpo->adev->result = isc_result;
2505 send_acceptdone_event(sock, &lpo->adev);
3273 isc_socket_newconnev_t *adev;
3303 adev = (isc_socket_newconnev_t *)
3305 action, arg, sizeof(*adev));
3306 if (adev == NULL) {
3310 ISC_LINK_INIT(adev, ev_link);
3314 isc_event_free((isc_event_t **)&adev);
3325 isc_event_free((isc_event_t **)&adev);
3337 isc_event_free(ISC_EVENT_PTR(&adev));
3343 adev->ev_sender = ntask;
3344 adev->newsocket = nsock;
3358 lpo->adev = adev;
3379 ISC_LIST_ENQUEUE(sock->accept_list, adev, ev_link);