Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c2690 RData *newrd; in update_record() local
2695 newrd = mallocL("handle_update_request", sizeof(RData) - sizeof(RDataBody) + rdsize); in update_record()
2696 if (!newrd) FatalError("ERROR: malloc"); in update_record()
2697 newrd->MaxRDLength = (mDNSu16) rdsize; in update_record()
2698 memcpy(&newrd->u, rdata, rdlen); in update_record()
2703 if (rr->resrec.rrtype == kDNSType_TXT && rdlen == 0) { rdlen = 1; newrd->u.txt.c[0] = 0; } in update_record()
2705 result = mDNS_Update(gmDNS, rr, ttl, rdlen, newrd, update_callback); in update_record()
2706 if (result) { LogMsg("ERROR: mDNS_Update - %ld", result); freeL("handle_update_request", newrd); } in update_record()