Lines Matching refs:socket
147 isc_socket_t *socket;
159 UNUSED(socket);
429 isc_socket_t *socket;
435 socket = req_getsocket(request);
438 * We could connect the socket when we are using an exclusive dispatch
442 result = isc_socket_sendto(socket, &r, task, req_senddone,
515 isc_socket_t *socket = NULL;
522 isc_sockettype_tcp, &socket);
529 result = isc_socket_bind(socket, &bind_any, 0);
533 result = isc_socket_bind(socket, &src, 0);
547 socket, requestmgr->taskmgr,
551 isc_socket_detach(&socket);
682 isc_socket_t *socket = NULL;
760 socket = req_getsocket(request);
761 INSIST(socket != NULL);
797 result = isc_socket_connect(socket, destaddr, task,
882 isc_socket_t *socket = NULL;
956 socket = req_getsocket(request);
957 INSIST(socket != NULL);
974 socket = NULL;
1003 result = isc_socket_connect(socket, destaddr, task,
1243 isc_socket_t *socket;
1248 socket = dns_dispatch_getentrysocket(request->dispentry);
1250 socket = dns_dispatch_getsocket(request->dispatch);
1252 return (socket);
1453 isc_socket_t *socket;
1468 socket = NULL;
1472 socket = dns_dispatch_getentrysocket(
1476 socket = dns_dispatch_getsocket(request->dispatch);
1477 if (DNS_REQUEST_CONNECTING(request) && socket != NULL)
1478 isc_socket_cancel(socket, NULL, ISC_SOCKCANCEL_CONNECT);
1479 if (DNS_REQUEST_SENDING(request) && socket != NULL)
1480 isc_socket_cancel(socket, NULL, ISC_SOCKCANCEL_SEND);