Searched refs:sendbuffer (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | EncryptedDatagramSocket.cpp | 278 CRC4EncryptableBuffer sendbuffer; local 309 sendbuffer.SetKey(md5, true); 353 sendbuffer.RC4Crypt((uint8_t*)&magicValue, cryptedBuffer + 3, 4); 354 sendbuffer.RC4Crypt((uint8_t*)&padLen, cryptedBuffer + 7, 1); 358 sendbuffer.RC4Crypt((uint8_t*)&byRand, cryptedBuffer + CRYPT_HEADER_WITHOUTPADDING + j, 1); 364 sendbuffer.RC4Crypt((uint8_t*)&receiverVerifyKey, cryptedBuffer + CRYPT_HEADER_WITHOUTPADDING + padLen, 4); 365 sendbuffer.RC4Crypt((uint8_t*)&senderVerifyKey, cryptedBuffer + CRYPT_HEADER_WITHOUTPADDING + padLen + 4, 4); 368 sendbuffer.RC4Crypt(*buf, cryptedBuffer + cryptHeaderLen, bufLen); 443 CRC4EncryptableBuffer sendbuffer; local 444 sendbuffer [all...] |
H A D | EMSocket.cpp | 75 sendbuffer = NULL; 160 delete[] sendbuffer; 161 sendbuffer = NULL; 360 bool first = !((sendbuffer && !m_currentPacket_is_controlpacket) || !m_standard_queue.empty()); 495 (!m_control_queue.empty() || !m_standard_queue.empty() || sendbuffer != NULL) && // there must exist something to send 498 (sendbuffer == NULL && !m_control_queue.empty()) || // There's a control packet in queue, and we are not currently sending anything, so we will handle the control packet next 499 (sendbuffer != NULL && m_currentPacket_is_controlpacket == true) || // We are in the progress of sending a control packet. We are always allowed to send those 500 (sendbuffer != NULL && m_currentPacket_is_controlpacket == false && bWasLongTimeSinceSend && !m_control_queue.empty() && m_standard_queue.empty() && (sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall) < minFragSize) // We have waited to long to clean the current packet (which may be a standard packet that is in the way). Proceed no matter what the value of onlyAllowedToSendControlPacket. 505 if(sendbuffer == NULL) { 535 sendbuffer [all...] |
H A D | MuleUDPSocket.cpp | 270 uint8_t *sendbuffer = new uint8_t [len]; local 271 memcpy(sendbuffer, packet->GetUDPHeader(), 2); 272 memcpy(sendbuffer + 2, packet->GetDataBuffer(), packet->GetPacketSize()); 275 len = CEncryptedDatagramSocket::EncryptSendClient(&sendbuffer, len, item.pachTargetClientHashORKadID, item.bKad, item.nReceiverVerifyKey, (item.bKad ? Kademlia::CPrefs::GetUDPVerifyKey(item.IP) : 0)); 278 if (SendTo(sendbuffer, len, item.IP, item.port)) { 282 delete [] sendbuffer; 285 delete [] sendbuffer;
|
H A D | EMSocket.h | 112 byte* sendbuffer; member in class:CEMSocket
|
Completed in 164 milliseconds