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

Lines Matching refs:contactID

191 void CKademliaUDPListener::SendPublishSourcePacket(const CContact& contact, const CUInt128 &targetID, const CUInt128 &contactID, const TagPtrList& tags)
198 packetdata.WriteUInt128(contactID);
205 packetdata.WriteUInt128(contactID);
496 CUInt128 contactID = bio.ReadUInt128();
505 routingZone->Add(contactID, ip, port, tport, version, senderKey, validReceiverKey, true, false);
511 contactID = bio.ReadUInt128();
517 routingZone->Add(contactID, ip, port, tport, version, 0, verified, false, false);
528 CUInt128 contactID;
529 bool addedOrUpdated = AddContact2(packetData, lenPacket, ip, port, &contactVersion, senderKey, validReceiverKey, true, true, NULL, &contactID); // might change (udp)port, validReceiverKey
541 SendMyDetails(KADEMLIA2_HELLO_RES, ip, port, contactVersion, senderKey, &contactID, addedOrUpdated && !validReceiverKey);
548 CContact* contact = CKademlia::GetRoutingZone()->GetContact(contactID);
564 SendLegacyChallenge(ip, port, contactID);
603 CUInt128 contactID;
605 bool addedOrUpdated = AddContact2(packetData, lenPacket, ip, port, &contactVersion, senderKey, validReceiverKey, true, false, &sendACK, &contactID);
625 SendLegacyChallenge(ip, port, contactID);
702 CUInt128 contactID;
703 if (IsLegacyChallenge(target, ip, KADEMLIA2_REQ, contactID)) {
705 if (!routingZone->VerifyContact(contactID, ip)) {
1545 CUInt128 contactID;
1546 if (IsLegacyChallenge(CUInt128((uint32_t)0), ip, KADEMLIA2_PING, contactID)) {
1548 if (!CKademlia::GetRoutingZone()->VerifyContact(contactID, ip)) {
1636 void CKademliaUDPListener::SendLegacyChallenge(uint32_t ip, uint16_t port, const CUInt128& contactID)
1643 CContact* contact = CKademlia::GetRoutingZone()->GetContact(contactID);
1668 packetdata.WriteUInt128(contactID);
1672 AddLegacyChallenge(contactID, challenge, ip, KADEMLIA2_REQ);