• Home
  • Raw
  • Download

Lines Matching refs:InterfaceID

172 			mDNSInterfaceID InterfaceID;  member
499 mDNSInterfaceID InterfaceID; in read_rr_from_ipc_msg() local
519 InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceIndex); in read_rr_from_ipc_msg()
520 if (InterfaceID == mDNSInterface_LocalOnly) in read_rr_from_ipc_msg()
522 else if (InterfaceID == mDNSInterface_P2P) in read_rr_from_ipc_msg()
524 else if ((InterfaceID == mDNSInterface_Any) && (flags & kDNSServiceFlagsIncludeP2P)) in read_rr_from_ipc_msg()
529 mDNS_SetupResourceRecord(rr, mDNSNULL, InterfaceID, type, 0, in read_rr_from_ipc_msg()
749 …if (GenerateNTDResponse(srs->RR_SRV.resrec.name, srs->RR_SRV.resrec.InterfaceID, instance->request… in SendServiceRemovalNotification()
802 …if (GenerateNTDResponse(srs->RR_SRV.resrec.name, srs->RR_SRV.resrec.InterfaceID, instance->request… in regservice_callback()
806 …if (instance->request->u.servicereg.InterfaceID == mDNSInterface_P2P || (!instance->request->u.ser… in regservice_callback()
848 …if (GenerateNTDResponse(srs->RR_SRV.resrec.name, srs->RR_SRV.resrec.InterfaceID, instance->request… in regservice_callback()
859 …if (GenerateNTDResponse(srs->RR_SRV.resrec.name, srs->RR_SRV.resrec.InterfaceID, instance->request… in regservice_callback()
905 …i = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(m, rr->resrec.InterfaceID, mDNSfalse)); in regrecord_callback()
1004 if (rr->resrec.InterfaceID == mDNSInterface_LocalOnly && !IsLocalDomain(rr->resrec.name) && in handle_regrecord_request()
1022 re->origInterfaceID = rr->resrec.InterfaceID; in handle_regrecord_request()
1023 if (rr->resrec.InterfaceID == mDNSInterface_P2P) rr->resrec.InterfaceID = mDNSInterface_Any; in handle_regrecord_request()
1110 …&& (instance->request->u.servicereg.InterfaceID == mDNSInterface_P2P || (!instance->request->u.ser… in add_record_to_service()
1444 mDNSInterfaceID interfaceID = request->u.servicereg.InterfaceID; in register_service_instance()
1601 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_regservice_request() local
1602 if (interfaceIndex && !InterfaceID) in handle_regservice_request()
1612 request->u.servicereg.InterfaceID = InterfaceID; in handle_regservice_request()
1750 …if (GenerateNTDResponse(&answer->rdata->u.name, answer->InterfaceID, req, &rep, browse_reply_op, f… in FoundInstance()
1756 …GenerateBonjourBrowserResponse(&answer->rdata->u.name, answer->InterfaceID, req, &rep, browse_repl… in FoundInstance()
1769 …mDNSPlatformInterfaceIndexfromInterfaceID(m, answer->InterfaceID, mDNSfalse), RRDisplayString(m, a… in FoundInstance()
2158 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_browse_request() local
2159 if (interfaceIndex && !InterfaceID) return(mStatus_BadParamErr); in handle_browse_request()
2182 request->u.browser.interface_id = InterfaceID; in handle_browse_request()
2265 …rep->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(m, answer->InterfaceID, m… in resolve_result_callback()
2299 mDNSInterfaceID InterfaceID; in handle_resolve_request() local
2306 InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceIndex); in handle_resolve_request()
2307 if (interfaceIndex && !InterfaceID) in handle_resolve_request()
2323 request->u.resolve.qsrv.InterfaceID = InterfaceID; in handle_resolve_request()
2342 request->u.resolve.qtxt.InterfaceID = InterfaceID; in handle_resolve_request()
2380 …if (wasP2P || (!InterfaceID && IsLocalDomain(&fqdn) && (request->flags & kDNSServiceFlagsIncludeP2… in handle_resolve_request()
2435 …sd = uDNS_GetNextSearchDomain(m, question->InterfaceID, &question->SearchListIndex, !question->App… in AppendNewSearchDomain()
2538 q2->InterfaceID = mDNSInterface_Unicast; in SendAdditionalQuery()
2687 question->InterfaceID = mDNSInterface_Unicast; in queryrecord_result_callback()
2712 if (q && AddRecord && (question->InterfaceID == mDNSInterface_Unicast) && !answer->rdlength) in queryrecord_result_callback()
2748 …ming out, InterfaceID %p", question->qname.c, DNSTypeName(question->qtype), question->InterfaceID); in queryrecord_result_callback()
2761 if (!answer->InterfaceID && IsLocalDomain(answer->name)) in queryrecord_result_callback()
2776 if (!q && !answer->InterfaceID && !answer->rdlength && AddRecord) in queryrecord_result_callback()
2822 …rep->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(m, answer->InterfaceID, m… in queryrecord_result_callback()
2932 … stopped, InterfaceID %p", question->qname.c, DNSTypeName(question->qtype), question->InterfaceID); in queryrecord_termination_callback()
2940 …if (request->u.queryrecord.q.InterfaceID == mDNSInterface_P2P || (!request->u.queryrecord.q.Interf… in queryrecord_termination_callback()
2955 … stopped, InterfaceID %p", question->qname.c, DNSTypeName(question->qtype), question->InterfaceID); in queryrecord_termination_callback()
2977 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_queryrecord_request() local
2978 if (interfaceIndex && !InterfaceID) return(mStatus_BadParamErr); in handle_queryrecord_request()
2990 q->InterfaceID = InterfaceID; in handle_queryrecord_request()
3043 …if (q->InterfaceID == mDNSInterface_P2P || (!q->InterfaceID && SameDomainName((const domainname *)… in handle_queryrecord_request()
3135 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceInd… in handle_enum_request() local
3136 if (interfaceIndex && !InterfaceID) return(mStatus_BadParamErr); in handle_enum_request()
3155 if (!InterfaceID) InterfaceID = mDNSInterface_LocalOnly; in handle_enum_request()
3161 …err = mDNS_GetDomains(&mDNSStorage, &request->u.enumeration.q_all, t_all, NULL, InterfaceID, enum_… in handle_enum_request()
3164 …ains(&mDNSStorage, &request->u.enumeration.q_default, t_default, NULL, InterfaceID, enum_result_ca… in handle_enum_request()
3190 …mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, rr->resrec.InterfaceID, mDNSfalse), status… in handle_reconfirm_request()
3272 …rep->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(m, n->InterfaceID, mDNSfa… in port_mapping_create_request_callback()
3303 …mDNSInterfaceID InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interface… in handle_port_mapping_request() local
3306 if (interfaceIndex && !InterfaceID) return(mStatus_BadParamErr); in handle_port_mapping_request()
3445 …request->u.addrinfo.q4.InterfaceID = request->u.addrinfo.q6.InterfaceID = request->u.add… in handle_addrinfo_request()
4229 if (ar->resrec.InterfaceID == mDNSInterface_LocalOnly) in LogEtcHosts()
4233 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; in LogEtcHosts()
4279 const char *const ifname = InterfaceNameForID(m, ar->resrec.InterfaceID); in LogAuthRecords()
4340 mDNSInterfaceID InterfaceID = cr->resrec.InterfaceID; in udsserver_info() local
4341 if (!InterfaceID && cr->resrec.rDNSServer) in udsserver_info()
4342 InterfaceID = cr->resrec.rDNSServer->interface; in udsserver_info()
4343 ifname = InterfaceNameForID(m, InterfaceID); in udsserver_info()
4394 char *ifname = InterfaceNameForID(m, q->InterfaceID); in udsserver_info()
4507 char *ifname = InterfaceNameForID(m, s->InterfaceID); in udsserver_info()