• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/

Lines Matching refs:item

351 	ServerUDPPacket item = { NULL, 0, 0, wxEmptyString };
354 item.addr = host->GetDynIP();
356 item.ip = host->GetIP();
361 item.port = host->GetPort() + port_offset;
372 item.port = host->GetObfuscationPortUDP();
375 item.packet = new CPacket(encryptedpacket, pRawPacket[0], pRawPacket[1]);
385 item.packet = packet;
387 item.packet = new CPacket(*packet);
392 m_queue.push_back(item);
394 // If there is more than one item in the queue,
405 ServerUDPPacket item = m_queue.front();
406 CPacket* packet = item.packet;
409 wxASSERT(item.ip || !item.addr.IsEmpty());
410 if (!item.addr.IsEmpty()) {
412 CServer* update = theApp->serverlist->GetServerByAddress(item.addr, item.port);
416 CAsyncDNS* dns = new CAsyncDNS(item.addr, DNS_UDP, theApp, this);
430 AddDebugLogLineN(logServerUDP, wxT("Trying to send a UDP packet to a server host that failed DNS: ")+item.addr);
437 AddDebugLogLineN(logServerUDP, wxT("Sending a UDP packet to a resolved DNS server host: ")+item.addr);
438 // Update the item IP
439 item.ip = update->GetIP();
442 AddDebugLogLineN(logServerUDP, wxT("Trying to send a UDP packet to a server host that is checking DNS: ")+item.addr);
446 m_queue.push_back(item);
459 CServer* update = theApp->serverlist->GetServerByIPUDP(item.ip, item.port, true);
463 CMuleUDPSocket::SendPacket(packet, item.ip, item.port, false, NULL, false, 0);
465 AddDebugLogLineN(logServerUDP, wxT("Sending a UDP packet to a server no in serverlist: ")+Uint32_16toStringIP_Port(item.ip,item.port));
477 ServerUDPPacket item = m_queue.front();
478 wxCHECK_RET(!item.ip && !item.addr.IsEmpty(), wxT("DNS resolution not expected."));
481 CServer* update = theApp->serverlist->GetServerByAddress(item.addr, item.port);
490 item.addr.Clear();
491 item.ip = ip;