Lines Matching defs:sock
79 isc_socket_t * sock;
95 isc_socket_t * sock;
144 if (listener->sock != NULL)
145 isc_socket_detach(&listener->sock);
176 isc_socket_cancel(conn->sock, listener->task,
214 isc_socket_cancel(listener->sock, listener->task,
240 result = isc_socket_accept(listener->sock,
256 result = isc_socket_listen(listener->sock, 0);
274 isc_socket_t *sock = (isc_socket_t *)sevent->ev_sender;
289 (void)isc_socket_getpeername(sock, &peeraddr);
301 isc_socket_detach(&conn->sock);
312 (void)isc_socket_getpeername(ccmsg->sock, &peeraddr);
492 result = isc_socket_send(conn->sock, &r, task, control_senddone, conn);
510 isc_socket_detach(&conn->sock);
530 newconnection(controllistener_t *listener, isc_socket_t *sock) {
539 conn->sock = sock;
540 isccc_ccmsg_init(listener->mctx, sock, &conn->ccmsg);
576 isc_socket_t *sock;
592 sock = nevent->newsocket;
593 isc_socket_setname(sock, "control", NULL);
594 (void)isc_socket_getpeername(sock, &peeraddr);
603 isc_socket_detach(&sock);
607 result = newconnection(listener, sock);
615 isc_socket_detach(&sock);
1074 listener->sock = NULL;
1141 type, &listener->sock);
1143 isc_socket_setname(listener->sock, "control", NULL);
1147 isc_socket_ipv6only(listener->sock, ISC_TRUE);
1151 result = isc_socket_bind(listener->sock, &listener->address,