/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | CryptoAlg.c | 36 LogMsg("DigestAlgInit: digestType %d exceeds bounds", digestType); in DigestAlgInit() 44 LogMsg("DigestAlgInit: digestType %d not supported", digestType); in DigestAlgInit() 55 LogMsg("CryptoAlgInit: alg %d exceeds bounds", alg); in CryptoAlgInit() 63 LogMsg("CryptoAlgInit: alg %d not supported", alg); in CryptoAlgInit() 75 LogMsg("EncAlgInit: alg %d exceeds bounds", alg); in EncAlgInit() 83 LogMsg("EncAlgInit: alg %d not supported", alg); in EncAlgInit() 150 LogMsg("AlgDestroy: ERROR!! func is NULL"); in AlgDestroy() 176 LogMsg("AlgLength: ERROR!! func is NULL"); in AlgLength() 200 LogMsg("AlgAdd: ERROR!! func is NULL"); in AlgAdd() 224 LogMsg("AlgVerify: ERROR!! func is NULL"); in AlgVerify() [all …]
|
H A D | PosixDaemon.c | 97 LogMsg("Unable to parse DNS server list. Unicast DNS-SD unavailable"); in Reconfigure() 117 if (result != 0) { LogMsg("Could not run as daemon - exiting"); exit(result); } in ParseCmdLinArgs() 119 LogMsg("The POSIX mdnsd should only be used on OS X for testing - exiting"); in ParseCmdLinArgs() 138 LogMsg("---- BEGIN STATE LOG ----"); in DumpStateLog() 140 LogMsg("---- END STATE LOG ----"); in DumpStateLog() 183 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); in MainLoop() 214 LogMsg("WARNING: mdnsd exiting because user \""MDNSD_USER"\" does not exist"); in main() 218 … LogMsg("WARNING: mdnsd continuing as root because user \""MDNSD_USER"\" does not exist"); in main() 230 LogMsg("ExitCallback: udsserver_exit failed"); in main()
|
H A D | uDNS.c | 120 …LogMsg("mDNS_AddDNSServer: DNS server limit of %d reached, not adding this server", MAX_UNICAST_DN… in mDNS_AddDNSServer() 174 LogMsg("Error: mDNS_AddDNSServer - malloc"); in mDNS_AddDNSServer() 265 …LogMsg("PenalizeDNSServer: ERROR!! GetServerForQuestion returned the same server %#a:%d", &new->ad… in PenalizeDNSServer() 397 …if (!info || !b64keydata) { LogMsg("mDNS_SetSecretForDomain: ERROR: info %p b64keydata %p", info, … in mDNS_SetSecretForDomain() 416 …LogMsg("mDNS_SetSecretForDomain: ERROR: Could not convert shared secret from base64: domain %##s k… in mDNS_SetSecretForDomain() 492 LogMsg("uDNS_RequestAddress: LNT_GetExternalAddress returned error %d", lnterr); in uDNS_RequestAddress() 535 LogMsg("uDNS_SendNATMsg called unexpectedly with NULL info"); in uDNS_SendNATMsg() 640 LogMsg("uDNS_SendNATMsg: LNT_MapPort returned error %d", lnterr); in uDNS_SendNATMsg() 687 if (err != last_err) LogMsg("Error getting external address %d", err); in natTraversalHandleAddressReply() 694 …LogMsg("Double NAT (external NAT gateway address %.4a is also a private RFC 1918 address)", &ExtAd… in natTraversalHandleAddressReply() [all …]
|
H A D | PlatformCommon.c | 68 …{ if (errno != ENETUNREACH) LogMsg("mDNSPlatformSourceAddrForDest: connect %#a failed errno %d (%s… in mDNSPlatformSourceAddrForDest() 71 …{ LogMsg("mDNSPlatformSourceAddrForDest: getsockname failed errno %d (%s)", errno, strerror(errno)… in mDNSPlatformSourceAddrForDest() 85 …if (len + 1 + MAX_ESCAPED_DOMAIN_NAME > sizeof(buf)-1) { LogMsg("GetConfigOption: option %s too lo… in GetConfigOption() 124 if (errno != ENOENT) LogMsg("ERROR: Config file exists, but cannot be opened."); in ReadDDNSSettingsFromConfFile() 133 … if (err) LogMsg("ERROR: mDNS_SetSecretForDomain returned %d for domain %##s", err, domain->c); in ReadDDNSSettingsFromConfFile() 139 LogMsg("ERROR: malformatted config file"); in ReadDDNSSettingsFromConfFile()
|
H A D | mDNSDebug.h | 98 #define LogMsg(... ) LogMsgWithLevel(MDNS_LOG_MSG, __VA_ARGS__) macro 104 #define LogMsg( ARGS... ) LogMsgWithLevel(MDNS_LOG_MSG, ARGS) 115 #define LogMsg LogMsg_ 149 #define LogMsgNoIdent LogMsg
|
H A D | uds_daemon.c | 321 LogMsg("%s: %s", errmsg, dnssd_strerror(dnssd_errno)); in FatalError() 337 LogMsg("%s: %d (%s)", errmsg, dnssd_errno, dnssd_strerror(dnssd_errno)); in my_perror() 473 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with req->terminate %p", req, req->t… in abort_request() 481 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with invalid fd %d", req, req->s… in abort_request() 517 else LogMsg("AbortUnlinkAndFree: ERROR: Attempt to abort operation %p not in list", req); in AbortUnlinkAndFree() 526 LogMsg("ERROR: create_reply - data length less than length of required fields"); in create_reply() 666 if (str_err) { LogMsg("ERROR: read_rr_from_ipc_msg - get_string"); return NULL; } in read_rr_from_ipc_msg() 668 if (!request->msgptr) { LogMsg("Error reading Resource Record from client"); return NULL; } in read_rr_from_ipc_msg() 674 …LogMsg("ERROR: Bad resource record flags (must be kDNSServiceFlagsShared or kDNSServiceFlagsUnique… in read_rr_from_ipc_msg() 701 LogMsg("ERROR: bad name: %s", name); in read_rr_from_ipc_msg() [all …]
|
H A D | DNSCommon.c | 278 LogMsg("baseEncode: AlgCreate failed\n"); in baseEncode() 305 LogMsg("PrintTypeBitmap: malformed bitmap, bitmaplen %d short", bitmaplen); in PrintTypeBitmap() 800 …if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); re… in AppendDNSNameString() 1030 …LogMsg("Bad service type in %#s.%##s%##s Application protocol name must be underscore plus 1-15 ch… in ConstructServiceName() 1084 LogMsg("ConstructServiceName: %s: %#s.%##s%##s", errormsg, name->c, type->c, domain->c); in ConstructServiceName() 1147 LogMsg("DNSNameToLowerCase: ERROR!! Malformed Domain name"); in DNSNameToLowerCase() 1177 LogMsg("NSEC3HashName: ERROR!! DNSNameToLowerCase failed"); in NSEC3HashName() 1191 LogMsg("NSEC3HashName: ERROR!! Cannot allocate context"); in NSEC3HashName() 1369 …LogMsg("mDNS_SetupResourceRecord: ERROR!! Mismatch LocalOnly record InterfaceID %p called with art… in mDNS_SetupResourceRecord() 1374 …LogMsg("mDNS_SetupResourceRecord: ERROR!! Mismatch P2P record InterfaceID %p called with artype %d… in mDNS_SetupResourceRecord() [all …]
|
H A D | anonymous.c | 66 LogMsg("InitializeNSEC3Record: NSEC3HashName failed for ##s", rr->name->c); in InitializeNSEC3Record() 71 LogMsg("InitializeNSEC3Record: hlen wrong %d", hlen); in InitializeNSEC3Record() 88 …LogMsg("ConstructNSEC3Record: StandardAuthRDSize %d smaller than MCAST_NSEC3_RDLENGTH %d", Standar… in ConstructNSEC3Record() 127 …LogMsg("CopyNSEC3ResourceRecord: rdlength %d smaller than MCAST_NSEC3_RDLENGTH %d", rr->rdlength, … in CopyNSEC3ResourceRecord() 223 …LogMsg("SetAnonData: question %##s(%p), rr %##s(%p), NULL", q->qname.c, q->AnonInfo, rr->name->c, … in SetAnonData() 388 LogMsg("AnonInfoAnswersQuestion: NSEC3HashName failed for ##s", nsec3RR->name->c); in AnonInfoAnswersQuestion() 393 LogMsg("AnonInfoAnswersQuestion: hlen wrong %d", hlen); in AnonInfoAnswersQuestion() 401 … LogMsg("AnonInfoAnswersQuestion: ERROR!! hlen %d not same as nxtLength %d", hlen, nxtLength); in AnonInfoAnswersQuestion()
|
H A D | mDNS.c | 190 LogMsg("ReleaseAuthGroup: Releasing AuthGroup %##s", (*cp)->name->c); in ReleaseAuthGroup() 192 LogMsg("ERROR: (*cp)->members == mDNSNULL but (*cp)->rrauth_tail != &(*cp)->members)"); in ReleaseAuthGroup() 203 if (r->rrauth_lock) { LogMsg("GetFreeCacheRR ERROR! Cache already locked!"); return(mDNSNULL); } in GetAuthEntity() 273 …if (!ag) { LogMsg("GetAuthGroup: Failed to allocate memory for %##s", rr->name->c); return(mDNSNUL… in GetAuthGroup() 285 LogMsg("GetAuthGroup: Failed to allocate name storage for %##s", rr->name->c); in GetAuthGroup() 291 …if (AuthGroupForRecord(r, slot, rr)) LogMsg("GetAuthGroup: Already have AuthGroup for %##s", rr->n… in GetAuthGroup() 293 …if (AuthGroupForRecord(r, slot, rr) != ag) LogMsg("GetAuthGroup: Not finding AuthGroup for %##s", … in GetAuthGroup() 322 …if (!a) { LogMsg("RemoveAuthRecord: ERROR!! AuthGroup not found for %s", ARDisplayString(m, rr)); … in RemoveAuthRecord() 447 …if (!m->CurrentQuestion) { LogMsg("GenerateNegativeResponse: ERROR!! CurrentQuestion not set"); re… in GenerateNegativeResponse() 470 … LogMsg("AnswerQuestionByFollowingCNAME: %p %##s (%s) NOT following CNAME referral %d%s for %s", in AnswerQuestionByFollowingCNAME() [all …]
|
H A D | DNSCommon.h | 301 …LogMsg("%s: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", __func__, (X)->mDNS_busy, (X)->… 304 …if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Locking Failure! mDNS_busy (%ld) != mDNS_reent… 308 …if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Unlocking Failure! mDNS_busy (%ld) != mDNS_ree…
|
H A D | uds_daemon.h | 40 #define LogMcast (mDNS_McastLoggingEnabled == 0) ? ((void)0) : LogMsg
|
H A D | DNSDigest.c | 1365 …if (utc32 == (unsigned)-1) { LogMsg("ERROR: DNSDigest_SignMessage - mDNSPlatformUTC returned bad t… in DNSDigest_SignMessage() 1415 …if (!*end) { LogMsg("ERROR: DNSDigest_SignMessage - could not put TSIG"); *end = mDNSNULL; return;… in DNSDigest_SignMessage() 1443 LogMsg("ERROR: DNSDigest_VerifyMessage - TSIG algorithm not supported: %##s", algo->c); in DNSDigest_VerifyMessage() 1457 LogMsg("ERROR: DNSDigest_VerifyMessage - mDNSPlatformUTC returned bad time -1"); in DNSDigest_VerifyMessage() 1483 LogMsg("ERROR: DNSDigest_VerifyMessage - time skew > %d", fudge); in DNSDigest_VerifyMessage() 1549 LogMsg("ERROR: DNSDigest_VerifyMessage - bad signature"); in DNSDigest_VerifyMessage()
|
H A D | mDNSPosix.c | 171 LogMsg("mDNSPlatformSendUDP: Invalid argument -dstPort is set to 0"); in mDNSPlatformSendUDP() 219 … LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d", in mDNSPlatformSendUDP() 222 …LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst); in mDNSPlatformSendUDP()
|