Searched refs:errsd (Results 1 – 2 of 2) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 553 dnssd_sock_t listenfd = dnssd_InvalidSocket, errsd = dnssd_InvalidSocket; in deliver_request() local 620 errsd = sp[0]; // We'll read our four-byte error code from sp[0] in deliver_request() 625 if (setsockopt(errsd, SOL_SOCKET, SO_DEFUNCTOK, &defunct, sizeof(defunct)) < 0) in deliver_request() 669 if (!MakeSeparateReturnSocket) errsd = sdr->sockfd; in deliver_request() 678 errsd = accept(listenfd, (struct sockaddr *)&daddr, &len); in deliver_request() 679 if (!dnssd_SocketValid(errsd)) deliver_request_bailout("accept"); in deliver_request() 733 errsd, listenfd, sizeof(dnssd_sock_t), sizeof(void*), in deliver_request() 742 errsd, listenfd, dnssd_errno, dnssd_strerror(dnssd_errno)); in deliver_request() 748 syslog(LOG_WARNING, "dnssd_clientstub sendmsg read sd=%d write sd=%d okay", errsd, listenfd); in deliver_request() 763 else if ((err = wait_for_daemon(errsd, DNSSD_CLIENT_TIMEOUT)) == kDNSServiceErr_NoError) in deliver_request() [all …]
|
D | uds_daemon.c | 136 dnssd_sock_t errsd; member 324 …if (req->errsd != req->sd) LogOperation("%3d: Removing FD and closing errsd %d", req->sd, req->err… in abort_request() 327 if (req->errsd != req->sd) { dnssd_close(req->errsd); req->errsd = req->sd; } in abort_request() 341 req->sd = req->errsd = -2; in abort_request() 343 req->sd = req->errsd = dnssd_InvalidSocket; in abort_request() 3651 req->errsd = *(dnssd_sock_t *)CMSG_DATA(cmsg); in read_msg() 3653 LogMsg("%3d: read req->errsd %d", req->sd, req->errsd); in read_msg() 3658 req->sd, req->errsd, req->data_bytes, req->hdr.datalen); in read_msg() 3692 if (req->errsd == req->sd) in read_msg() 3698 req->errsd = socket(AF_DNSSD, SOCK_STREAM, 0); in read_msg() [all …]
|