Lines Matching refs:LogMsg
289 LogMsg("%s: %s", errmsg, dnssd_strerror(dnssd_errno)); in FatalError()
305 LogMsg("%s: %d (%s)", errmsg, dnssd_errno, dnssd_strerror(dnssd_errno)); in my_perror()
311 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with req->terminate %p", req, req->t… in abort_request()
319 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with invalid fd %d", req, req->s… in abort_request()
355 else LogMsg("AbortUnlinkAndFree: ERROR: Attempt to abort operation %p not in list", req); in AbortUnlinkAndFree()
364 LogMsg("ERROR: create_reply - data length less than length of required fields"); in create_reply()
504 if (str_err) { LogMsg("ERROR: read_rr_from_ipc_msg - get_string"); return NULL; } in read_rr_from_ipc_msg()
506 if (!request->msgptr) { LogMsg("Error reading Resource Record from client"); return NULL; } in read_rr_from_ipc_msg()
512 …LogMsg("ERROR: Bad resource record flags (must be kDNSServiceFlagsShared or kDNSServiceFlagsUnique… in read_rr_from_ipc_msg()
534 LogMsg("ERROR: bad name: %s", name); in read_rr_from_ipc_msg()
569 LogMsg("ERROR: send_all(%d) wrote %d of %d errno %d (%s)", in send_all()
628 …if (instance->external_advertise) LogMsg("external_start_advertising_helper: external_advertise al… in external_start_advertising_helper()
675 …if (result != mStatus_MemFree) { LogMsg("Error: FreeExtraRR invoked with unexpected error %d", res… in FreeExtraRR()
750 …LogMsg("%3d: SendServiceRemovalNotification: %##s is not valid DNS-SD SRV name", instance->request… in SendServiceRemovalNotification()
764 if (!srs) { LogMsg("regservice_callback: srs is NULL %d", result); return; } in regservice_callback()
767 if (!instance) { LogMsg("regservice_callback: srs->ServiceContext is NULL %d", result); return; } in regservice_callback()
788 …if (!instance->request && result != mStatus_MemFree) { LogMsg("regservice_callback: instance->requ… in regservice_callback()
803 …LogMsg("%3d: regservice_callback: %##s is not valid DNS-SD SRV name", instance->request->sd, srs->… in regservice_callback()
821 if (err) LogMsg("ERROR: regservice_callback - RenameAndReregisterService returned %d", err); in regservice_callback()
849 …LogMsg("%3d: regservice_callback: %##s is not valid DNS-SD SRV name", instance->request->sd, srs->… in regservice_callback()
860 …LogMsg("%3d: regservice_callback: %##s is not valid DNS-SD SRV name", instance->request->sd, srs->… in regservice_callback()
872 …LogMsg("Error: regrecord_callback: successful registration of orphaned record %s", ARDisplayString… in regrecord_callback()
875 …if (result != mStatus_MemFree) LogMsg("regrecord_callback: error %d received after parent terminat… in regrecord_callback()
915 if (!*ptr) { LogMsg("regrecord_callback - record not in list!"); return; } in regrecord_callback()
922 if (re->external_advertise) LogMsg("regrecord_callback: external_advertise already set!"); in regrecord_callback()
948 …if (tmp->primary == tmp) LogMsg("connection_termination ERROR (*req)->primary == *req for %p %d", … in connection_termination()
949 …if (tmp->replies) LogMsg("connection_termination ERROR How can subordinate req %p %d have r… in connection_termination()
1051 if (!request) { LogMsg("regservice_termination_callback context is NULL"); return; } in regservice_termination_callback()
1130 …if (!request->msgptr) { LogMsg("%3d: DNSServiceAddRecord(unreadable parameters)", request->sd); re… in handle_add_request()
1136 …{ LogMsg("%3d: DNSServiceAddRecord(not a registered service ref)", request->sd); return(mStatus_Ba… in handle_add_request()
1141 …{ LogMsg("%3d: DNSServiceAddRecord: adding record to a service registered with zero port", request… in handle_add_request()
1200 …if (result) { LogMsg("update_record: Error %d for %s", (int)result, ARDisplayString(&mDNSStorage, … in update_record()
1218 …if (!request->msgptr) { LogMsg("%3d: DNSServiceUpdateRecord(unreadable parameters)", request->sd);… in handle_update_request()
1242 …{ LogMsg("%3d: DNSServiceUpdateRecord(not a registered service ref)", request->sd); return(mStatus… in handle_update_request()
1246 …{ LogMsg("%3d: DNSServiceUpdateRecord: updating the record of a service registered with zero port"… in handle_update_request()
1295 …if (!*ptr) { LogMsg("%3d: DNSServiceRemoveRecord(%u) not found", request->sd, request->hdr.reg_ind… in remove_record()
1309 LogMsg("ERROR: remove_record, mDNS_Deregister: %d", err); in remove_record()
1340 …if (!request->msgptr) { LogMsg("%3d: DNSServiceRemoveRecord(unreadable parameters)", request->sd);… in handle_removerecord_request()
1348 …{ LogMsg("%3d: DNSServiceRemoveRecord(not a registered service ref)", request->sd); return(mStatus… in handle_removerecord_request()
1470 LogMsg("register_service_instance: domain %##s already registered for %#s.%##s", in register_service_instance()
1519 LogMsg("register_service_instance %#s.%##s%##s error %d", in register_service_instance()
1535 LogMsg("%s registration domain %##s", add ? "Adding" : "Removing", d->name.c); in udsserver_default_reg_domain_changed()
1556 LogMsg("udsserver_default_reg_domain_changed domain %##s not found for service %#s type %s", in udsserver_default_reg_domain_changed()
1582 …if (err) { LogMsg("udsserver_default_reg_domain_changed err %d", err); unlink_and_free_service_ins… in udsserver_default_reg_domain_changed()
1603 …{ LogMsg("ERROR: handle_regservice_request - Couldn't find interfaceIndex %d", interfaceIndex); re… in handle_regservice_request()
1609 …{ LogMsg("ERROR: handle_regservice_request - Couldn't read name/regtype/domain"); return(mStatus_B… in handle_regservice_request()
1629 LogMsg("%3d: DNSServiceRegister(unreadable parameters)", request->sd); in handle_regservice_request()
1643 …{ LogMsg("ERROR: handle_regservice_request - ChopSubTypes failed %s", request->u.servicereg.type_a… in handle_regservice_request()
1647 …{ LogMsg("ERROR: handle_regservice_request - type_as_string bad %s", request->u.servicereg.type_as… in handle_regservice_request()
1663 { LogMsg("ERROR: handle_regservice_request - name bad %s", name); return(mStatus_BadParamErr); } in handle_regservice_request()
1671 …{ LogMsg("ERROR: handle_regservice_request - domain bad %s", domain); return(mStatus_BadParamErr);… in handle_regservice_request()
1681 …LogMsg("ERROR: handle_regservice_request - Couldn't ConstructServiceName from, “%#s” “%##s” “%##s”… in handle_regservice_request()
1686 { LogMsg("ERROR: handle_regservice_request - host bad %s", host); return(mStatus_BadParamErr); } in handle_regservice_request()
1697 LogMsg("Client application registered %d identical instances of service %##s port %u.", in handle_regservice_request()
1748 …{ LogMsg("%3d: FoundInstance: Should not be called with rrtype %d (not a PTR record)", req->sd, an… in FoundInstance()
1760 …LogMsg("%3d: FoundInstance: %##s PTR %##s received from network is not valid DNS-SD service pointe… in FoundInstance()
1792 …LogMsg("mDNS_StartBrowse returned %d for type %##s domain %##s", err, info->u.browser.regtype.c, d… in add_domain_to_browser()
1857 if (!*ptr) LogMsg("udsserver_automatic_browse_domain_changed ERROR %##s not found", &d->name); in udsserver_automatic_browse_domain_changed()
1891 …if (*ptr) { *ptr = (*ptr)->next; LogMsg("FreeARElemCallback: Have to cut %s", ARDisplayString(m, r… in FreeARElemCallback()
1918 LogMsg("SetSCPrefsBrowseDomain: mDNS_Register returned error %d", err); in RegisterLocalOnlyDomainEnumPTR()
1957 if (!new) { LogMsg("ERROR: malloc"); return; } in AddAutoBrowseDomain()
1969 if (!*p) LogMsg("RmvAutoBrowseDomain: Got remove event for domain %##s not in list", name->c); in RmvAutoBrowseDomain()
2164 …if (!request->msgptr) { LogMsg("%3d: DNSServiceBrowse(unreadable parameters)", request->sd); retur… in handle_browse_request()
2308 …{ LogMsg("ERROR: handle_resolve_request bad interfaceIndex %d", interfaceIndex); return(mStatus_Ba… in handle_resolve_request()
2313 …{ LogMsg("ERROR: handle_resolve_request - Couldn't read name/regtype/domain"); return(mStatus_BadP… in handle_resolve_request()
2315 …if (!request->msgptr) { LogMsg("%3d: DNSServiceResolve(unreadable parameters)", request->sd); retu… in handle_resolve_request()
2318 …{ LogMsg("ERROR: handle_resolve_request bad “%s” “%s” “%s”", name, regtype, domain); return(mStatu… in handle_resolve_request()
2415 …LogMsg("AppendNewSearchDomain: question %##s (%s) SearchListIndex is -1", question->qname.c, DNSTy… in AppendNewSearchDomain()
2421 …LogMsg("AppendNewSearchDomain: question %##s (%s) AppendSearchDoamins is 0", question->qname.c, DN… in AppendNewSearchDomain()
2429 if (!question->qnameOrig) { LogMsg("AppendNewSearchDomain: ERROR!! malloc failure"); return -1; } in AppendNewSearchDomain()
2440 LogMsg("AppendNewSearchDomain: ERROR!! uDNS_GetNextSearchDomain returned -1"); in AppendNewSearchDomain()
2447 …LogMsg("AppendNewSearchDomain: ERROR!! exceeding max domain length for %##s (%s) SearchDomain %##s… in AppendNewSearchDomain()
2463 …if (err) { LogMsg("AppendNewSearchDomain: ERROR!! %##s %s mDNS_StopQuery: %d, while retrying with … in AppendNewSearchDomain()
2509 LogMsg("SendAdditionalQuery: question2 NULL for %##s (%s)", q->qname.c, DNSTypeName(q->qtype)); in SendAdditionalQuery()
2548 …if (!(*question2)->qnameOrig) { LogMsg("SendAdditionalQuery: ERROR!! malloc failure"); return mSt… in SendAdditionalQuery()
2580 …if (err) LogMsg("%3d: ERROR: DNSServiceQueryRecord %##s %s mDNS_StartQuery: %d", request->sd, q2->… in SendAdditionalQuery()
2621 …LogMsg("%3d: ERROR: RetryQuestionWithSearchDomains %##s %s mDNS_StartQuery: %d, while retrying wit… in RetryQuestionWithSearchDomains()
2651 …LogMsg("queryrecord_result_callback: ERROR!! QuestionContext NULL for %##s (%s)", question->qname.… in queryrecord_result_callback()
2697 …if (err) LogMsg("%3d: ERROR: queryrecord_result_callback %##s %s mDNS_StartQuery: %d", req->sd, qu… in queryrecord_result_callback()
2791 …if (err) LogMsg("queryrecord_result_callback: Sending .local SOA query failed, after appending dom… in queryrecord_result_callback()
2835 …LogMsg("queryrecord_result_callback putRData failed %d", (mDNSu8 *)rep->rhdr + len - (mDNSu8 *)dat… in queryrecord_result_callback()
2869 LogMsg("queryrecord_result_callback: WCF AF_INET putRData failed"); in queryrecord_result_callback()
2881 LogMsg("queryrecord_result_callback: WCF AF_INET6 putRData failed"); in queryrecord_result_callback()
2902 LogMsg("queryrecord_result_callback: WCF CNAME putRData failed"); in queryrecord_result_callback()
2985 …{ LogMsg("%3d: DNSServiceQueryRecord(unreadable parameters)", request->sd); return(mStatus_BadPara… in handle_queryrecord_request()
3039 …if (err) LogMsg("%3d: ERROR: DNSServiceQueryRecord %##s %s mDNS_StartQuery: %d", request->sd, q->q… in handle_queryrecord_request()
3120 if (!reply) { LogMsg("ERROR: enum_result_callback, format_enumeration_reply"); return; } in enum_result_callback()
3139 …{ LogMsg("%3d: DNSServiceEnumerateDomains(unreadable parameters)", request->sd); return(mStatus_Ba… in handle_enum_request()
3204 …{ LogMsg("%3d: DNSServiceSetDefaultDomainForUser(unreadable parameters)", request->sd); return(mSt… in handle_setdomain_request()
3260 …if (!request) { LogMsg("port_mapping_create_request_callback called with unknown request_state obj… in port_mapping_create_request_callback()
3318 …{ LogMsg("%3d: DNSServiceNATPortMappingCreate(unreadable parameters)", request->sd); return(mStatu… in handle_port_mapping_request()
3340 if (err) LogMsg("ERROR: mDNS_StartNATOperation: %d", (int)err); in handle_port_mapping_request()
3430 …if (!request->msgptr) { LogMsg("%3d: DNSServiceGetAddrInfo(unreadable parameters)", request->sd); … in handle_addrinfo_request()
3433 …{ LogMsg("ERROR: handle_addrinfo_request: bad hostname: %s", hostname); return(mStatus_BadParamErr… in handle_addrinfo_request()
3482 LogMsg("ERROR: mDNS_StartQuery: %d", (int)err); in handle_addrinfo_request()
3510 LogMsg("ERROR: mDNS_StartQuery: %d", (int)err); in handle_addrinfo_request()
3553 …{ LogMsg("%3d: ERROR: read_msg called with transfer state terminated or error", req->sd); req->ts … in read_msg()
3561 LogMsg("%3d: ERROR: read data from a completed request", req->sd); in read_msg()
3567 …{ LogMsg("%3d: ERROR: read_msg called with invalid transfer state (%d)", req->sd, req->ts); req->t… in read_msg()
3577 …{ LogMsg("%3d: ERROR: read_msg - read too many header bytes", req->sd); req->ts = t_error; return;… in read_msg()
3584 …{ LogMsg("%3d: ERROR: client version 0x%08X daemon version 0x%08X", req->sd, req->hdr.version, VER… in read_msg()
3590 …{ LogMsg("%3d: ERROR: read_msg: hdr.datalen %u (0x%X) > 70000", req->sd, req->hdr.datalen, req->hd… in read_msg()
3627 … { LogMsg("%3d: ERROR: read_msg - read too many data bytes", req->sd); req->ts = t_error; return; } in read_msg()
3631 …LogMsg("%3d: Expecting %d %d %d %d", req->sd, sizeof(cbuf), sizeof(cbuf), SOL_SOCKET, … in read_msg()
3632 …LogMsg("%3d: Got %d %d %d %d", req->sd, msg.msg_controllen, cmsg->cmsg_len, cmsg->cmsg_level… in read_msg()
3653 LogMsg("%3d: read req->errsd %d", req->sd, req->errsd); in read_msg()
3657 …LogMsg("%3d: Client sent error socket %d via SCM_RIGHTS with req->data_bytes %d < req->hdr.datalen… in read_msg()
3693 …{ LogMsg("%3d: read_msg: ERROR failed to get errsd via SCM_RIGHTS", req->sd); req->ts = t_error; r… in read_msg()
3705 LogMsg("%3d: read_msg: Couldn't connect to error return path socket “%s” errno %d (%s)", in read_msg()
3708 …LogMsg("%3d: read_msg: stat failed “%s” errno %d (%s)", req->sd, cliaddr.sun_path, dnssd_errno, dn… in read_msg()
3710 …LogMsg("%3d: read_msg: file “%s” mode %o (octal) uid %d gid %d", req->sd, cliaddr.sun_path, sb.st_… in read_msg()
3726 LogMsg("%3d: ERROR: could not set control socket to non-blocking mode errno %d (%s)", in read_msg()
3740 LogMsg("%3d: ERROR: read_msg errno %d (%s)", req->sd, dnssd_errno, dnssd_strerror(dnssd_errno)); in read_msg()
3763 …if (req->ts != t_complete) { LogMsg("req->ts %d != t_complete", req->ts); AbortUnlinkAndFree(req);… in request_callback()
3767 … LogMsg("ERROR: client version %d incompatible with daemon version %d", req->hdr.version, VERSION); in request_callback()
3792 …default: LogMsg("ERROR: validate_message - unsupported req type: %d", req->hdr.op); min_size = -1;… in request_callback()
3796 …{ LogMsg("Invalid message %d bytes; min for %d is %d", req->data_bytes, req->hdr.op, min_size); Ab… in request_callback()
3799 …{ LogMsg("Reg/Add/Update/Remove %d require existing connection", req->hdr.op); Ab… in request_callback()
3849 default: LogMsg("%3d: ERROR: Unsupported UDS req: %d", req->sd, req->hdr.op); in request_callback()
3904 …LogMsg("%3d: WARNING: setsockopt - SO_NOSIGPIPE %d (%s)", sd, dnssd_errno, dnssd_strerror(dnssd_er… in connect_callback()
4034 LogMsg("ERROR: MDNS_UDS_SERVERPATH must be < %d characters", (int)sizeof(laddr.sun_path)); in udsserver_init()
4660 LogMsg("send_msg ERROR: failed to write %d of %d bytes to fd %d errno %d (%s)", in send_msg()
4704 LogMsg("%3d: Could not write data to client because of error - aborting connection", r->sd); in udsserver_idle()
4722 LogMsg("%3d: Could not write data to client after %ld seconds, %d repl%s waiting", in udsserver_idle()
4726 LogMsg("%3d: Client unresponsive; aborting connection", r->sd); in udsserver_idle()