INET Framework for OMNeT++/OMNEST
|
#include <SCTPAssociation.h>
SCTPDataVariables::SCTPDataVariables | ( | ) |
{ userData = NULL; ordered = true; len = 0; tsn = 0; sid = 0; ssn = 0; ppid = 0; gapReports = 0; enqueuingTime = 0; sendTime = 0; ackTime = 0; expiryTime = 0; enqueuedInTransmissionQ = false; hasBeenAcked = false; hasBeenReneged = false; hasBeenAbandoned = false; hasBeenFastRetransmitted = false; countsAsOutstanding = false; lastDestination = NULL; nextDestination = NULL; initialDestination = NULL; numberOfTransmissions = 0; numberOfRetransmissions = 0; booksize = 0; }
SCTPDataVariables::~SCTPDataVariables | ( | ) |
{ }
const IPvXAddress& SCTPDataVariables::getInitialDestination | ( | ) | const [inline] |
{ if(initialDestination != NULL) { return(initialDestination->remoteAddress); } return(zeroAddress); }
SCTPPathVariables* SCTPDataVariables::getInitialDestinationPath | ( | ) | const [inline] |
Referenced by SCTPAssociation::getNextDestination().
{ return(initialDestination); }
const IPvXAddress& SCTPDataVariables::getLastDestination | ( | ) | const [inline] |
Referenced by SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::getNextDestination(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::moveChunkToOtherPath(), SCTPQueue::printQueue(), SCTPAssociation::process_TIMEOUT_RTX(), and SCTPAssociation::sendOnPath().
{ if(lastDestination != NULL) { return(lastDestination->remoteAddress); } return(zeroAddress); }
SCTPPathVariables* SCTPDataVariables::getLastDestinationPath | ( | ) | const [inline] |
Referenced by SCTPAssociation::decreaseOutstandingBytes(), SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::getNextDestination(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::moveChunkToOtherPath(), SCTPAssociation::peekAbandonedChunk(), SCTPAssociation::process_TIMEOUT_RTX(), SCTPAssociation::processSackArrived(), and SCTPAssociation::tsnWasReneged().
{ return(lastDestination); }
const IPvXAddress& SCTPDataVariables::getNextDestination | ( | ) | const [inline] |
Referenced by SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::moveChunkToOtherPath(), SCTPQueue::printQueue(), SCTPAssociation::sendOnPath(), and SCTPAssociation::tsnWasReneged().
{ if(nextDestination != NULL) { return(nextDestination->remoteAddress); } return(zeroAddress); }
SCTPPathVariables* SCTPDataVariables::getNextDestinationPath | ( | ) | const [inline] |
Referenced by SCTPAssociation::getOutboundDataChunk(), SCTPAssociation::handleChunkReportedAsMissing(), and SCTPAssociation::sendOnPath().
{ return(nextDestination); }
void SCTPDataVariables::setInitialDestination | ( | SCTPPathVariables * | path | ) | [inline] |
Referenced by SCTPAssociation::makeDataVarFromDataMsg().
{ initialDestination = path; }
void SCTPDataVariables::setLastDestination | ( | SCTPPathVariables * | path | ) | [inline] |
Referenced by SCTPAssociation::sendOnPath().
{ lastDestination = path; }
void SCTPDataVariables::setNextDestination | ( | SCTPPathVariables * | path | ) | [inline] |
Referenced by SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::moveChunkToOtherPath(), and SCTPAssociation::tsnWasReneged().
{ nextDestination = path; }
simtime_t SCTPDataVariables::ackTime |
Referenced by SCTPDataVariables().
Referenced by SCTPAssociation::makeDataVarFromDataMsg().
uint32 SCTPDataVariables::booksize |
Referenced by SCTPAssociation::decreaseOutstandingBytes(), SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::getOutboundDataChunk(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::increaseOutstandingBytes(), SCTPAssociation::makeDataVarFromDataMsg(), SCTPAssociation::moveChunkToOtherPath(), SCTPDataVariables(), SCTPAssociation::sendOnPath(), and SCTPAssociation::tsnWasReneged().
Referenced by SCTPAssociation::decreaseOutstandingBytes(), SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::moveChunkToOtherPath(), SCTPQueue::printQueue(), SCTPAssociation::process_TIMEOUT_RTX(), SCTPDataVariables(), SCTPAssociation::sendOnPath(), and SCTPAssociation::tsnWasReneged().
simtime_t SCTPDataVariables::enqueuingTime |
simtime_t SCTPDataVariables::expiryTime |
Referenced by SCTPAssociation::makeDataVarFromDataMsg(), and SCTPDataVariables().
Referenced by SCTPDataVariables().
Referenced by SCTPDataVariables().
uint32 SCTPDataVariables::len |
Referenced by SCTPAssociation::dequeueAckedChunks(), SCTPAssociation::getOutboundDataChunk(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::makeDataVarFromDataMsg(), SCTPAssociation::makeRoomForTsn(), SCTPAssociation::makeVarFromMsg(), SCTPAssociation::moveChunkToOtherPath(), SCTPAssociation::pushUlp(), SCTPAssociation::putInDeliveryQ(), SCTPReceiveStream::reassemble(), SCTPDataVariables(), SCTPAssociation::sendOnPath(), SCTPAssociation::transformDataChunk(), and SCTPAssociation::tsnWasReneged().
Referenced by SCTPDataVariables().
uint32 SCTPDataVariables::ppid |
simtime_t SCTPDataVariables::sendTime |
uint16 SCTPDataVariables::sid |
uint16 SCTPDataVariables::ssn |
uint32 SCTPDataVariables::tsn |
Referenced by SCTPAssociation::dequeueAckedChunks(), SCTPReceiveStream::enqueueNewDataChunk(), SCTPQueue::getChunkFast(), SCTPAssociation::getOutboundDataChunk(), SCTPAssociation::handleChunkReportedAsAcked(), SCTPAssociation::handleChunkReportedAsMissing(), SCTPAssociation::makeVarFromMsg(), SCTPAssociation::moveChunkToOtherPath(), SCTPAssociation::peekAbandonedChunk(), SCTPAssociation::process_TIMEOUT_RTX(), SCTPAssociation::pushUlp(), SCTPAssociation::putInDeliveryQ(), SCTPReceiveStream::reassemble(), SCTPDataVariables(), SCTPAssociation::sendOnPath(), SCTPAssociation::transformDataChunk(), and SCTPAssociation::tsnWasReneged().
cPacket* SCTPDataVariables::userData |
Referenced by SCTPQueue::deleteMsg(), SCTPAssociation::dequeueAckedChunks(), SCTPQueue::getMsg(), SCTPAssociation::makeDataVarFromDataMsg(), SCTPAssociation::makeVarFromMsg(), SCTPAssociation::pushUlp(), SCTPReceiveStream::reassemble(), SCTPDataVariables(), SCTPAssociation::transformDataChunk(), and SCTPQueue::~SCTPQueue().
const IPvXAddress SCTPDataVariables::zeroAddress = IPvXAddress("0.0.0.0") [static] |
Referenced by SCTPAssociation::getNextAddress(), and SCTPStateVariables::getPrimaryPathIndex().