Home
last modified time | relevance | path

Searched refs:mDNS_snprintf (Results 1 – 8 of 8) sorted by relevance

/external/mdnsresponder/mDNSCore/
DDNSCommon.c165 mDNS_snprintf(buffer, sizeof(buffer), "(%d)", rrtype); in DNSTypeName()
179 …mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTyp… in GetRRDisplayString_rdb()
181 …if (!rr->rdlength) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO RDATA LENGTH >>"); return(buffe… in GetRRDisplayString_rdb()
185 case kDNSType_A: mDNS_snprintf(buffer+length, RemSpc, "%.4a", &rd->ipv4); break; in GetRRDisplayString_rdb()
189 case kDNSType_PTR: mDNS_snprintf(buffer+length, RemSpc, "%##s", rd->name.c); break; in GetRRDisplayString_rdb()
191 case kDNSType_SOA: mDNS_snprintf(buffer+length, RemSpc, "%##s %##s %d %d %d %d %d", in GetRRDisplayString_rdb()
201 length += mDNS_snprintf(buffer+length, RemSpc, "%s%#s", t > rd->txt.c ? "¦" : "", t); in GetRRDisplayString_rdb()
206 case kDNSType_AAAA: mDNS_snprintf(buffer+length, RemSpc, "%.16a", &rd->ipv6); break; in GetRRDisplayString_rdb()
207 case kDNSType_SRV: mDNS_snprintf(buffer+length, RemSpc, "%u %u %u %##s", in GetRRDisplayString_rdb()
213 length += mDNS_snprintf(buffer+length, RemSpc, "Max %d", rr->rrclass); in GetRRDisplayString_rdb()
[all …]
DuDNS.c371 mDNS_snprintf(info->b64keydata, sizeof(info->b64keydata), "%s", b64keydata); in mDNS_SetSecretForDomain()
2259 mDNS_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa.", ip[3], ip[2], ip[1], ip[0]); in GetStaticHostname()
3330 mDNS_snprintf(msgbuf, sizeof(msgbuf), "%d", AddrReply->err); in uDNS_ReceiveNATPMPPacket()
3341mDNS_snprintf(msgbuf, sizeof(msgbuf), "%s - %d", AddrReply->opcode == NATOp_MapUDPResponse ? "UDP"… in uDNS_ReceiveNATPMPPacket()
DmDNS.c4787 mDNS_snprintf(reason, sizeof(reason), "sleep proxy for %d records", m->ProxyRecords); in mDNS_UpdateAllowSleep()
4803 mDNS_snprintf(reason, sizeof(reason), "%s does not support NetWake", intf->ifname); in mDNS_UpdateAllowSleep()
4812 mDNS_snprintf(reason, sizeof(reason), "%s does not support NetWake", intf->ifname); in mDNS_UpdateAllowSleep()
7562 char *p = buffer + mDNS_snprintf(buffer, sizeof(buffer), "%04X", i); in mDNSCoreReceive()
7563 …do if (i<end - (mDNSu8 *)pkt) p += mDNS_snprintf(p, sizeof(buffer), " %02X", ((mDNSu8 *)pkt)[i]); … in mDNSCoreReceive()
9192 mDNS_snprintf(buffer, sizeof(buffer), "%d.%d.%d.%d.in-addr.arpa.", in AdvertiseInterface()
9208 mDNS_snprintf(&buffer[64], sizeof(buffer)-64, "ip6.arpa."); in AdvertiseInterface()
10513 name->c[0] = (mDNSu8)mDNS_snprintf((char*)name->c+1, 62, "%d-%d-%d-%d %#s", in ConstructSleepProxyServerName()
DmDNSEmbeddedAPI.h2369 extern mDNSu32 mDNS_snprintf(char *sbuffer, mDNSu32 buflen, const char *fmt, ...) IS_A_PRINTF_STYLE…
/external/mdnsresponder/mDNSPosix/
DIdentify.c311 mDNS_snprintf(buffer, sizeof(buffer), "%d.%d.%d.%d.in-addr.arpa.", p[3], p[2], p[1], p[0]); in main()
331 mDNS_snprintf(&buffer[64], sizeof(buffer)-64, "ip6.arpa."); in main()
DProxyResponder.c80mDNS_snprintf(buffer, sizeof(buffer), "%d.%d.%d.%d.in-addr.arpa.", p->ip.b[3], p->ip.b[2], p->ip.b… in mDNS_RegisterProxyHost()
DNetMonitor.c242mDNS_snprintf(buffer, sizeof(buffer), "%d.%d.%d.%d.in-addr.arpa.", ip.b[3], ip.b[2], ip.b[1], ip.b… in AddHost()
554 …mDNSu32 striplen = mDNS_snprintf(b, MaxMsg-1, "%4d %##s %s ", pktrr->rdlength, pktrr->name->c, DNS… in DisplayResourceRecord()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c460 mDNS_snprintf(typestr, sizeof(typestr), "%#s.local.", SecondLabel(servicename)); in GenerateBonjourBrowserResponse()
783 if (instance->request) mDNS_snprintf(prefix, sizeof(prefix), "%3d:", instance->request->sd); in regservice_callback()
4124 if (req->primary) mDNS_snprintf(prefix, sizeof(prefix), " -> "); in LogClientInfo()
4125 else mDNS_snprintf(prefix, sizeof(prefix), "%3d:", req->sd); in LogClientInfo()