Lines Matching refs:dispsocket
43 typedef struct dispsocket dispsocket_t;
132 dispsocket_t *dispsocket;
158 struct dispsocket {
511 dispsocket_t *dispsocket;
535 while ((dispsocket = ISC_LIST_HEAD(disp->inactivesockets)) != NULL) {
536 ISC_LIST_UNLINK(disp->inactivesockets, dispsocket, link);
537 destroy_dispsocket(disp, &dispsocket);
627 * Find a dispsocket for socket address 'dest', and port number 'port'.
832 INSIST(dispsock->resp->dispsocket == dispsock);
833 dispsock->resp->dispsocket = NULL;
3196 dispsocket_t *dispsocket = NULL;
3264 result = get_dispsocket(disp, dest, sockmgr, &dispsocket,
3306 if (dispsocket != NULL)
3307 destroy_dispsocket(disp, &dispsocket);
3323 res->dispsocket = dispsocket;
3324 if (dispsocket != NULL)
3325 dispsocket->resp = res;
3344 result = startrecv(disp, dispsocket);
3350 if (dispsocket != NULL)
3351 destroy_dispsocket(disp, &dispsocket);
3367 if (dispsocket != NULL)
3368 ISC_LIST_APPEND(disp->activesockets, dispsocket, link);
3376 INSIST(res->dispsocket != NULL);
3540 if (res->dispsocket != NULL) {
3541 isc_socket_cancel(res->dispsocket->socket,
3542 res->dispsocket->task, ISC_SOCKCANCEL_RECV);
3543 res->dispsocket->resp = NULL;
3627 if (resp->dispsocket != NULL)
3628 return (resp->dispsocket->socket);