Searched refs:mDNS_snprintf (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | DNSCommon.c | 219 mDNS_snprintf(buffer, sizeof(buffer), "TYPE%d", rrtype); in DNSTypeName() 287 … length += mDNS_snprintf(buffer+length, (MaxMsg - 1) - length, "%s ", DNSTypeName(type + i)); in PrintTypeBitmap() 302 …mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTyp… in GetRRDisplayString_rdb() 304 …if (!rr->rdlength && rr->rrtype != kDNSType_OPT) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO R… in GetRRDisplayString_rdb() 308 case kDNSType_A: mDNS_snprintf(buffer+length, RemSpc, "%.4a", &rd->ipv4); break; in GetRRDisplayString_rdb() 312 case kDNSType_PTR: mDNS_snprintf(buffer+length, RemSpc, "%##s", rd->name.c); break; in GetRRDisplayString_rdb() 314 case kDNSType_SOA: mDNS_snprintf(buffer+length, RemSpc, "%##s %##s %d %d %d %d %d", in GetRRDisplayString_rdb() 332 …length += mDNS_snprintf(buffer + length, RemSpc, "%s%.*s<<OUT OF BOUNDARY CHARACTER STRING>>", sep… in GetRRDisplayString_rdb() 337 … length += mDNS_snprintf(buffer+length, RemSpc, "%s%.*s", separator, characterStrLength, t + 1); in GetRRDisplayString_rdb() 344 case kDNSType_AAAA: mDNS_snprintf(buffer+length, RemSpc, "%.16a", &rd->ipv6); break; in GetRRDisplayString_rdb() [all …]
|
H A D | mDNS.c | 6015 mDNS_snprintf(reason, sizeof(reason), "sleep proxy for %d records", m->ProxyRecords); in mDNS_UpdateAllowSleep() 6031 … mDNS_snprintf(reason, sizeof(reason), "%s does not support NetWake", intf->ifname); in mDNS_UpdateAllowSleep() 6048 … mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server on %s", intf->ifname); in mDNS_UpdateAllowSleep() 6059 …mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server with better metric on %s", intf->ifna… in mDNS_UpdateAllowSleep() 6171 …newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d h=%#a d=%#a l=%u… in UpdateKeepaliveRData() 6173 …newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d H=%#a D=%#a l=%u… in UpdateKeepaliveRData() 6195 …newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d h=%#a d=%#a l=%u… in UpdateKeepaliveRData() 6197 …newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d H=%#a D=%#a l=%u… in UpdateKeepaliveRData() 10685 char *p = buffer + mDNS_snprintf(buffer, sizeof(buffer), "%04X", i); in mDNSCoreReceive() 10686 …do if (i < (int)(end - pkt)) p += mDNS_snprintf(p, sizeof(buffer), " %02X", pkt[i]);while (++i & 1… in mDNSCoreReceive() [all …]
|
H A D | uDNS.c | 459 mDNS_snprintf(info->b64keydata, sizeof(info->b64keydata), "%s", b64keydata); in mDNS_SetSecretForDomain() 2539 mDNS_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa.", ip[3], ip[2], ip[1], ip[0]); in GetStaticHostname() 6244 mDNS_snprintf(name, sizeof name, "%04x%04x", q->qtype, q->qclass); in SubscribeToDNSPushNotificationServer()
|
H A D | mDNSEmbeddedAPI.h | 2821 extern mDNSu32 mDNS_snprintf(char *sbuffer, mDNSu32 buflen, const char *fmt, ...) IS_A_PRINTF_STYLE…
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | uds_daemon.c | 551 mDNS_snprintf(typestr, sizeof(typestr), "%#s.local.", SecondLabel(servicename)); in GenerateBrowseReply() 981 …mDNS_snprintf(description, sizeof(description), "%s %d", SuppressError ? "suppressed error" : "CAL… in regservice_callback() 1121 mDNS_snprintf(description, sizeof(description), "%d", result); in regrecord_callback() 5284 mDNS_snprintf(reqIDStr, sizeof(reqIDStr), "[R%u]", req->request_id); in LogClientInfoToFD() 5286 mDNS_snprintf(prefix, sizeof(prefix), "%-6s %2s", reqIDStr, req->primary ? "->" : ""); in LogClientInfoToFD() 5360 mDNS_snprintf(reqIDStr, sizeof(reqIDStr), "[R%u]", req->request_id); in LogClientInfo() 5362 mDNS_snprintf(prefix, sizeof(prefix), "%-6s %2s", reqIDStr, req->primary ? "->" : ""); in LogClientInfo()
|