• Home
  • Raw
  • Download

Lines Matching refs:mDNSStorage

251 mDNSexport mDNS mDNSStorage;  variable
430 …(*rep)->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, id, mDNS… in GenerateNTDResponse()
473 …(*rep)->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, id, mDNS… in GenerateBonjourBrowserResponse()
519 InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceIndex); in read_rr_from_ipc_msg()
706 FreeExtraRR(&mDNSStorage, &tmp->r, mStatus_MemFree); in unlink_and_free_service_instance()
737 for (rr = mDNSStorage.ResourceRecords; rr; rr=rr->next) in CountExistingRegistrations()
961 …ceRegisterRecord(%u %s) STOP", request->sd, ptr->key, RRDisplayString(&mDNSStorage, &ptr->rr->resr… in connection_termination()
969 mDNS_Deregister(&mDNSStorage, ptr->rr); // Will free ptr->rr for us in connection_termination()
1030 …iceRegisterRecord(%u %s) START", request->sd, re->key, RRDisplayString(&mDNSStorage, &rr->resrec)); in handle_regrecord_request()
1031 err = mDNS_Register(&mDNSStorage, rr); in handle_regrecord_request()
1034 …isterRecord(%u %s) ERROR (%d)", request->sd, re->key, RRDisplayString(&mDNSStorage, &rr->resrec), … in handle_regrecord_request()
1068 if (mDNS_DeregisterService(&mDNSStorage, &p->srs)) unlink_and_free_service_instance(p); in regservice_termination_callback()
1077 UpdateDeviceInfoRecord(&mDNSStorage); in regservice_termination_callback()
1105 result = mDNS_AddRecordToService(&mDNSStorage, srs, extra, &extra->r.rdatastorage, ttl, in add_record_to_service()
1199 result = mDNS_Update(&mDNSStorage, rr, ttl, rdlen, newrd, update_callback); in update_record()
1200 …if (result) { LogMsg("update_record: Error %d for %s", (int)result, ARDisplayString(&mDNSStorage, … in update_record()
1299 … DNSServiceRemoveRecord(%u %s)", request->sd, e->key, RRDisplayString(&mDNSStorage, &e->rr->resrec… in remove_record()
1306 …err = mDNS_Deregister(&mDNSStorage, e->rr); // Will free e->rr for us; we're responsible for free… in remove_record()
1328 err = mDNS_RemoveRecordFromService(&mDNSStorage, &serv->srs, ptr, FreeExtraRR, ptr); in remove_extra()
1476 if (mDNSStorage.KnownBugs & mDNS_KnownBug_LimitedIPv6) in register_service_instance()
1483 DomainAuthInfo *AuthInfo = GetAuthInfoForName(&mDNSStorage, domain); in register_service_instance()
1503 result = mDNS_RegisterService(&mDNSStorage, &instance->srs, in register_service_instance()
1581 err = mDNS_DeregisterService(&mDNSStorage, &si->srs); in udsserver_default_reg_domain_changed()
1601 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_regservice_request()
1651 request->u.servicereg.name = mDNSStorage.nicelabel; in handle_regservice_request()
1719 if (request->u.servicereg.autoname) UpdateDeviceInfoRecord(&mDNSStorage); in handle_regservice_request()
1788 err = mDNS_StartBrowse(&mDNSStorage, &b->q, in add_domain_to_browser()
1805 external_start_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in add_domain_to_browser()
1822 external_stop_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in browse_termination_callback()
1827 mDNS_StopBrowse(&mDNSStorage, &ptr->q); // no need to error-check result in browse_termination_callback()
1869 mDNS_StopQueryWithRemoves(&mDNSStorage, &rem->q); in udsserver_automatic_browse_domain_changed()
2141 strncpy(&(mDNSStorage.nicelabel.c[1]), hostName, len); in handle_sethost_request()
2142 mDNSStorage.nicelabel.c[0] = len; in handle_sethost_request()
2143 strncpy(&(mDNSStorage.hostlabel.c[1]), hostName, len); in handle_sethost_request()
2144 mDNSStorage.hostlabel.c[0] = len; in handle_sethost_request()
2145 mDNS_SetFQDN(&mDNSStorage); in handle_sethost_request()
2158 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_browse_request()
2166 if (domain[0] == '\0') uDNS_SetupSearchDomains(&mDNSStorage, UDNS_START_WAB_QUERY); in handle_browse_request()
2285 mDNS_StopQuery(&mDNSStorage, &request->u.resolve.qtxt); in resolve_termination_callback()
2286 mDNS_StopQuery(&mDNSStorage, &request->u.resolve.qsrv); in resolve_termination_callback()
2306 InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceIndex); in handle_resolve_request()
2361 …request->u.resolve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlat… in handle_resolve_request()
2371 err = mDNS_StartQuery(&mDNSStorage, &request->u.resolve.qsrv); in handle_resolve_request()
2374 err = mDNS_StartQuery(&mDNSStorage, &request->u.resolve.qtxt); in handle_resolve_request()
2375 if (err) mDNS_StopQuery(&mDNSStorage, &request->u.resolve.qsrv); in handle_resolve_request()
2462 err = mDNS_StopQuery(&mDNSStorage, question); in AppendNewSearchDomain()
2579 err = mDNS_StartQuery(&mDNSStorage, q2); in SendAdditionalQuery()
2926 mDNS_StopQuery(&mDNSStorage, &request->u.queryrecord.q); // no need to error check in queryrecord_termination_callback()
2943 …external_stop_browsing_for_service(&mDNSStorage, &request->u.queryrecord.q.qname, request->u.query… in queryrecord_termination_callback()
2950 mDNS_StopQuery(&mDNSStorage, request->u.queryrecord.q2); in queryrecord_termination_callback()
2977 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_queryrecord_request()
3038 err = mDNS_StartQuery(&mDNSStorage, q); in handle_queryrecord_request()
3046 external_start_browsing_for_service(&mDNSStorage, &q->qname, q->qtype); in handle_queryrecord_request()
3086 mDNS_StopGetDomains(&mDNSStorage, &request->u.enumeration.q_all); in enum_termination_callback()
3087 mDNS_StopGetDomains(&mDNSStorage, &request->u.enumeration.q_default); in enum_termination_callback()
3135 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_enum_request()
3142 uDNS_SetupSearchDomains(&mDNSStorage, UDNS_START_WAB_QUERY); in handle_enum_request()
3161 …err = mDNS_GetDomains(&mDNSStorage, &request->u.enumeration.q_all, t_all, NULL, InterfaceID, enum_… in handle_enum_request()
3164 …err = mDNS_GetDomains(&mDNSStorage, &request->u.enumeration.q_default, t_default, NULL, InterfaceI… in handle_enum_request()
3165 if (err) mDNS_StopGetDomains(&mDNSStorage, &request->u.enumeration.q_all); in handle_enum_request()
3184 status = mDNS_ReconfirmByValue(&mDNSStorage, &rr->resrec); in handle_reconfirm_request()
3189 request->sd, RRDisplayString(&mDNSStorage, &rr->resrec), in handle_reconfirm_request()
3190 …mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, rr->resrec.InterfaceID, mDNSfalse), status… in handle_reconfirm_request()
3249 mDNS_StopNATOperation(&mDNSStorage, &request->u.pm.NATinfo); in port_mapping_termination_callback()
3303 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interface… in handle_port_mapping_request()
3339 err = mDNS_StartNATOperation(&mDNSStorage, &request->u.pm.NATinfo); in handle_port_mapping_request()
3358 mDNS_StopQuery(&mDNSStorage, &request->u.addrinfo.q4); in addrinfo_termination_callback()
3371 mDNS_StopQuery(&mDNSStorage, request->u.addrinfo.q42); in addrinfo_termination_callback()
3385 mDNS_StopQuery(&mDNSStorage, &request->u.addrinfo.q6); in addrinfo_termination_callback()
3398 mDNS_StopQuery(&mDNSStorage, request->u.addrinfo.q62); in addrinfo_termination_callback()
3421 …request->u.addrinfo.interface_id = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfa… in handle_addrinfo_request()
3479 err = mDNS_StartQuery(&mDNSStorage, &request->u.addrinfo.q4); in handle_addrinfo_request()
3507 err = mDNS_StartQuery(&mDNSStorage, &request->u.addrinfo.q6); in handle_addrinfo_request()
3515 mDNS_StopQuery(&mDNSStorage, &request->u.addrinfo.q4); in handle_addrinfo_request()
3647 mDNSPlatformReceiveBPF_fd(&mDNSStorage, x); in read_msg()
3821 …if (mDNSStorage.ShutdownTime && req->hdr.op != cancel_request && req->hdr.op != getproperty_reques… in request_callback()
4077 mDNS_GetDomains(&mDNSStorage, &mDNSStorage.AutomaticBrowseDomainQ, mDNS_DomainTypeBrowseAutomatic, in udsserver_init()
4081 RegisterLocalOnlyDomainEnumPTR(&mDNSStorage, &localdomain, mDNS_DomainTypeRegistration); in udsserver_init()
4082 RegisterLocalOnlyDomainEnumPTR(&mDNSStorage, &localdomain, mDNS_DomainTypeBrowse); in udsserver_init()
4085 udsserver_handle_configchange(&mDNSStorage); in udsserver_init()
4105 mDNS_Deregister(&mDNSStorage, &rem->ar); in udsserver_exit()
4672 mDNSs32 now = mDNS_TimeNow(&mDNSStorage); in udsserver_idle()
4705 LogClientInfo(&mDNSStorage, r); in udsserver_idle()
4715 if (mDNSStorage.SleepState != SleepState_Awake) r->time_blocked = 0; in udsserver_idle()
4727 LogClientInfo(&mDNSStorage, r); in udsserver_idle()