• 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:sendbuffer

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 = curPacket->DetachPacket();
539 CryptPrepareSendData((byte*)sendbuffer, sendblen);
542 // At this point we've got a packet to send in sendbuffer. Try to send it. Loop until entire packet
572 uint32 result = CEncryptedStreamSocket::Write(sendbuffer+sent,tosend);
612 // sendbuffer to NULL so a new packet can be fetched.
613 delete[] sendbuffer;
614 sendbuffer = NULL;
630 if(onlyAllowedToSendControlPacket && (!m_control_queue.empty() || (sendbuffer != NULL && m_currentPacket_is_controlpacket))) {
677 if (!((sendbuffer && !m_currentPacket_is_controlpacket) || !m_standard_queue.empty())) {
682 if (((sendbuffer && !m_currentPacket_is_controlpacket)) && !m_control_queue.empty())
689 if (sendbuffer && !m_currentPacket_is_controlpacket) {
730 // Please note! There may still be a standardpacket in the sendbuffer variable!