• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/

Lines Matching +defs:next +defs:command +defs:event

47 #include <sys/event.h>
137 // If OfferSleepProxyService is set non-zero (typically via command-line switch),
250 struct D2DRecordListElem *next;
261 struct D2DBrowseListElem *next;
420 while (*ptr && &(*ptr)->ar != rr) ptr = &(*ptr)->next;
424 *ptr = (*ptr)->next;
435 for ( ; ptr ; ptr = ptr->next)
450 for ( ; ptr ; ptr = ptr->next)
464 for ( ; *ptr; ptr = &(*ptr)->next)
506 *ptr = (*ptr)->next;
549 ptr->next = D2DRecords;
576 ptr = ptr->next;
646 mDNSlocal void xD2DServiceCallback(D2DServiceEvent event, D2DStatus result, D2DServiceInstance instanceHandle, D2DTransportType transportType, const Byte *key, size_t keySize, const Byte *value, size_t valueSize, void *userData)
656 switch (event)
677 LogInfo("xD2DServiceCallback: event=%s result=%d instanceHandle=%p transportType=%d LHS=%p (%u) RHS=%p (%u) userData=%p", eventString, result, instanceHandle, transportType, key, keySize, value, valueSize, userData);
680 switch (event)
846 // The D2D driver may not generate the D2DServiceLost event for this key after
863 // if will be updated when we get the KEV_DL_IF_ATTACHED event for the interface.
1056 for (i = mDNSStorage.p->InterfaceList; i; i = i->next)
1261 for (i = m->p->InterfaceList; i; i = i->next)
1331 for (i = m->p->InterfaceList; i; i = i->next)
1368 for (i = m->p->InterfaceList; i; i = i->next)
1377 for (i = m->p->InterfaceList; i; i = i->next)
1426 // the statistics and try again at the next log interval.
1989 for (intf = m->HostInterfaces; intf; intf = intf->next)
2003 for (intf = m->HostInterfaces; intf; intf = intf->next)
2097 intf = intf->next;
2287 //is waiting to be dispatched, another read event can come into tcpKQSocketCallback
2488 // Trigger the event delivery to the application. Even though we trigger the
2489 // event completion after handling every event source, these all will hopefully
3283 debugf("%3d: bpf_callback ptr %p bh_hdrlen %d data %p bh_caplen %4d bh_datalen %4d next %p remaining %4d",
3375 for (rr = m->ResourceRecords; rr; rr=rr->next)
3382 for (rr = m->ResourceRecords; rr; rr=rr->next)
3399 for (x = m->p->InterfaceList; x; x = x->next) if (x->ifinfo.InterfaceID == InterfaceID) break;
3421 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x0806, 0, 1), // 1 If Ethertype == ARP goto next, else 3
3424 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x0800, 4, 0), // 3 If Ethertype == IPv4 goto 8 (IPv4 address list check) else next
3426 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x86DD, 0, 9), // 4 If Ethertype == IPv6 goto next, else exit
3428 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x3AFF, 0, 9), // 6 If (Prot,TTL) == (3A,FF) goto next, else IPv6 address list check
3475 for (rr = m->ResourceRecords; rr; rr=rr->next)
3494 for (rr = m->ResourceRecords; rr; rr=rr->next)
3563 for (i = m->p->InterfaceList; i; i = i->next) if (i->BPF_fd == -2) break;
3991 for (p = &m->p->InterfaceList; *p; p = &(*p)->next)
4048 i->next = mDNSNULL;
4114 for (q = m->Questions; q; q=q->next)
4135 for (r = m->ResourceRecords; r; r = r->next)
4145 for (ptr = m->AuthInfoList; ptr; ptr = ptr->next)
4405 for (info = m->AuthInfoList; info; info = info->next)
4415 for (info = m->AuthInfoList; info; info = info->next)
4696 for (info = m->AuthInfoList; info; info = info->next)
4818 q = q->next;
4836 while (*p != tun && *p) p = &(*p)->next;
4837 if (*p) *p = tun->next;
4848 p = &tun->next;
4852 if (!mDNSSameClientTunnel(&(*p)->rmt_inner, &tun->rmt_inner)) p = &(*p)->next;
4858 if (!mDNSIPPortIsZero(old->rmt_outer_port)) { p = &old->next; continue; }
4886 if (mDNSIPPortIsZero(old->rmt_outer_port)) { p = &old->next; continue; }
4914 *p = old->next;
4928 p = &tun->next;
4933 if (!mDNSSameClientTunnel(&(*p)->rmt_inner, &tun->rmt_inner)) p = &(*p)->next;
4939 if (!mDNSIPPortIsZero(old->rmt_outer_port)) { p = &old->next; continue;}
4944 if (mDNSIPPortIsZero(old->rmt_outer_port)) { p = &old->next; continue;}
4957 *p = old->next;
5147 p->next = m->TunnelClients;
5307 for (i = m->p->InterfaceList; i; i = i->next)
5373 for (info = m->AuthInfoList; info; info = info->next)
5402 for (i = m->p->InterfaceList; i; i = i->next)
5519 for (i = m->p->InterfaceList; i; i = i->next)
5536 for (i = m->p->InterfaceList; i; i = i->next)
5599 *p = i->next;
5601 continue; // After deleting this object, don't want to do the "p = &i->next;" thing at the end of the loop
5604 p = &i->next;
5615 dnle->next = mDNSNULL;
5619 *List = &dnle->next;
5721 for (ni = m->p->InterfaceList; ni; ni = ni->next)
6568 // need to make sure that we send the disconnect before attempting the next connect as the
6574 for (FoundInList = m->AuthInfoList; FoundInList; FoundInList = FoundInList->next)
6639 for (ptr = m->AuthInfoList; ptr; ptr = ptr->next)
6646 for (client = m->TunnelClients; client; client = client->next)
6766 for (FoundInList = m->AuthInfoList; FoundInList; FoundInList = FoundInList->next)
6774 for (client = m->TunnelClients; client; client = client->next)
6837 *pp = cur->next;
6841 pp = &(*pp)->next;
6846 for (info = m->AuthInfoList; info; info = info->next)
7142 for (intf = GetFirstActiveInterface(m->HostInterfaces); intf; intf = GetFirstActiveInterface(intf->next))
7171 uint32_t command; // set to OffloadRR
7190 for (rr = m->ResourceRecords; rr; rr=rr->next)
7251 for (rr = m->ResourceRecords; rr; rr=rr->next)
7293 for (rr = m->ResourceRecords; rr; rr=rr->next)
7408 cmd.command = cmd_mDNSOffloadRR;
7467 LogSPS("SystemWakeForNetworkAccess: Sleep Proxy Client disabled by command-line option");
7545 for (info = m->AuthInfoList; info; info = info->next)
7568 LogInfo("IPv6AddressIsOnInterface: SetupAddr error, continuing to the next address");
7742 for (info = m->AuthInfoList; info; info = info->next)
7778 for (info = m->AuthInfoList; info; info = info->next)
7799 for (s = m->DNSServers; s; s = s->next)
7815 m->p->NetworkChanged = 0; // If we received a network change event and deferred processing, we're now dealing with it
7833 for (p = m->TunnelClients; p; p = p->next)
7878 for (i = m->p->InterfaceList; i; i = i->next)
8302 for (rr = m->ResourceRecords; rr; rr=rr->next)
8362 intf = GetFirstActiveInterface(intf->next);
8376 // Handle AWDL KEV_DL_MASTER_ELECTED event by restarting queries and advertisements
8399 // Can get an KEV_DL_MASTER_ELECTED event prior to the interface existing
8408 for (q = m->Questions; q; q=q->next)
8418 for (rr = m->ResourceRecords; rr; rr=rr->next)
8438 // corresponding peer records are not flushed when KEV_DL_NODE_PRESENCE event
8483 // Handle KEV_DL_NODE_PRESENCE event.
8494 // AWDL will generate a KEV_DL_NODE_PRESENCE event with SSTH field of
8508 // Handle KEV_DL_NODE_ABSENCE event.
8774 // the System Configuration Framework "network changed" event that we expect
8984 rr = rr->next;
9416 for (ag = newhosts->rrauth_hash[slot]; ag; ag = ag->next)
9421 rrnext = rr->next;
9444 rr1 = rr1->next;
9457 rr->next = NULL;
9475 for (ag = m->rrauth.rrauth_hash[slot]; ag; ag = ag->next)
9481 rrnext = rr->next;
9495 rr1 = rr1->next;
9511 AuthRecord *new_primary = rr->next;
9521 r = r->next;
9552 agnext = ag->next;
9555 rrnext = rr->next;
10125 m->TunnelClients = cur->next;