INET Framework for OMNeT++/OMNEST
inet::sctp::SCTPDataVariables Class Reference

#include <SCTPAssociation.h>

Inheritance diagram for inet::sctp::SCTPDataVariables:

Public Member Functions

 SCTPDataVariables ()
 
 ~SCTPDataVariables ()
 
void setInitialDestination (SCTPPathVariables *path)
 
const L3AddressgetInitialDestination () const
 
SCTPPathVariablesgetInitialDestinationPath () const
 
void setLastDestination (SCTPPathVariables *path)
 
const L3AddressgetLastDestination () const
 
SCTPPathVariablesgetLastDestinationPath () const
 
void setNextDestination (SCTPPathVariables *path)
 
const L3AddressgetNextDestination () const
 
SCTPPathVariablesgetNextDestinationPath () const
 
uint16 getSid ()
 

Public Attributes

cPacket * userData
 
uint32 len
 
uint32 booksize
 
uint32 tsn
 
uint16 sid
 
uint16 ssn
 
uint32 ppid
 
uint32 fragments
 
bool enqueuedInTransmissionQ
 
bool countsAsOutstanding
 
bool hasBeenFastRetransmitted
 
bool hasBeenAbandoned
 
bool hasBeenReneged
 
bool hasBeenAcked
 
bool hasBeenCountedAsNewlyAcked
 
bool bbit
 
bool ebit
 
bool ordered
 
bool ibit
 
uint32 gapReports
 
simtime_t enqueuingTime
 
simtime_t sendTime
 
simtime_t expiryTime
 
uint32 numberOfRetransmissions
 
uint32 numberOfTransmissions
 
uint32 allowedNoRetransmissions
 
SCTPPathVariablesqueuedOnPath
 
SCTPPathVariablesackedOnPath
 
bool hasBeenTimerBasedRtxed
 
bool hasBeenMoved
 
simtime_t firstSendTime
 
bool wasDropped
 
bool wasPktDropped
 
bool strReset
 
uint32 prMethod
 
uint32 priority
 
bool sendForwardIfAbandoned
 

Static Public Attributes

static const L3Address zeroAddress = L3Address()
 

Private Attributes

SCTPPathVariablesinitialDestination
 
SCTPPathVariableslastDestination
 
SCTPPathVariablesnextDestination
 

Constructor & Destructor Documentation

inet::sctp::SCTPDataVariables::SCTPDataVariables ( )
270 {
271  userData = nullptr;
272  ordered = true;
273  len = 0;
274  tsn = 0;
275  sid = 0;
276  ssn = 0;
277  ppid = 0;
278  fragments = 1;
279  gapReports = 0;
280  enqueuingTime = 0;
281  sendTime = 0;
282  expiryTime = 0;
283  enqueuedInTransmissionQ = false;
284  hasBeenAcked = false;
286  hasBeenReneged = false;
287  hasBeenAbandoned = false;
288  hasBeenFastRetransmitted = false;
289  countsAsOutstanding = false;
290  ibit = false;
291  queuedOnPath = nullptr;
292  ackedOnPath = nullptr;
293  hasBeenMoved = false;
294  hasBeenTimerBasedRtxed = false;
295  wasDropped = false;
296  wasPktDropped = false;
297  firstSendTime = 0;
298  sendForwardIfAbandoned = false;
299  lastDestination = nullptr;
300  nextDestination = nullptr;
301  initialDestination = nullptr;
304  booksize = 0;
305  bbit = false;
306  ebit = false;
308  strReset = false;
309  prMethod = 0;
310  priority = 0;
311 }
bool enqueuedInTransmissionQ
Definition: SCTPAssociation.h:493
uint32 allowedNoRetransmissions
Definition: SCTPAssociation.h:512
uint32 fragments
Definition: SCTPAssociation.h:492
bool wasPktDropped
Definition: SCTPAssociation.h:521
bool hasBeenReneged
Definition: SCTPAssociation.h:497
bool bbit
Definition: SCTPAssociation.h:500
uint32 priority
Definition: SCTPAssociation.h:524
bool hasBeenCountedAsNewlyAcked
Definition: SCTPAssociation.h:499
bool ordered
Definition: SCTPAssociation.h:502
uint32 numberOfRetransmissions
Definition: SCTPAssociation.h:510
simtime_t expiryTime
Definition: SCTPAssociation.h:509
SCTPPathVariables * initialDestination
Definition: SCTPAssociation.h:533
SCTPPathVariables * ackedOnPath
Definition: SCTPAssociation.h:516
uint32 booksize
Definition: SCTPAssociation.h:487
bool wasDropped
Definition: SCTPAssociation.h:520
cPacket * userData
Definition: SCTPAssociation.h:482
SCTPPathVariables * queuedOnPath
Definition: SCTPAssociation.h:515
uint32 len
Definition: SCTPAssociation.h:486
uint16 sid
Definition: SCTPAssociation.h:489
uint32 gapReports
Definition: SCTPAssociation.h:506
uint32 ppid
Definition: SCTPAssociation.h:491
uint16 ssn
Definition: SCTPAssociation.h:490
bool sendForwardIfAbandoned
Definition: SCTPAssociation.h:525
simtime_t firstSendTime
Definition: SCTPAssociation.h:519
bool hasBeenFastRetransmitted
Definition: SCTPAssociation.h:495
bool ibit
Definition: SCTPAssociation.h:503
bool ebit
Definition: SCTPAssociation.h:501
bool countsAsOutstanding
Definition: SCTPAssociation.h:494
bool hasBeenAcked
Definition: SCTPAssociation.h:498
uint32 tsn
Definition: SCTPAssociation.h:488
bool strReset
Definition: SCTPAssociation.h:522
bool hasBeenAbandoned
Definition: SCTPAssociation.h:496
bool hasBeenTimerBasedRtxed
Definition: SCTPAssociation.h:517
SCTPPathVariables * nextDestination
Definition: SCTPAssociation.h:535
bool hasBeenMoved
Definition: SCTPAssociation.h:518
uint32 numberOfTransmissions
Definition: SCTPAssociation.h:511
simtime_t sendTime
Definition: SCTPAssociation.h:508
SCTPPathVariables * lastDestination
Definition: SCTPAssociation.h:534
simtime_t enqueuingTime
Definition: SCTPAssociation.h:507
uint32 prMethod
Definition: SCTPAssociation.h:523
inet::sctp::SCTPDataVariables::~SCTPDataVariables ( )
314 {
315 }

Member Function Documentation

const L3Address& inet::sctp::SCTPDataVariables::getInitialDestination ( ) const
inline
434  {
435  if (initialDestination != nullptr) {
437  }
438  return zeroAddress;
439  }
SCTPPathVariables * initialDestination
Definition: SCTPAssociation.h:533
static const L3Address zeroAddress
Definition: SCTPAssociation.h:528
L3Address remoteAddress
Definition: SCTPAssociation.h:284
SCTPPathVariables* inet::sctp::SCTPDataVariables::getInitialDestinationPath ( ) const
inline

Referenced by inet::sctp::SCTPAssociation::getNextDestination().

442  {
443  return initialDestination;
444  }
SCTPPathVariables * initialDestination
Definition: SCTPAssociation.h:533
const L3Address& inet::sctp::SCTPDataVariables::getNextDestination ( ) const
inline
SCTPPathVariables* inet::sctp::SCTPDataVariables::getNextDestinationPath ( ) const
inline
uint16 inet::sctp::SCTPDataVariables::getSid ( )
inline
482 { return sid; };
uint16 sid
Definition: SCTPAssociation.h:489
void inet::sctp::SCTPDataVariables::setInitialDestination ( SCTPPathVariables path)
inline

Referenced by inet::sctp::SCTPAssociation::makeDataVarFromDataMsg().

429  {
430  initialDestination = path;
431  }
SCTPPathVariables * initialDestination
Definition: SCTPAssociation.h:533
void inet::sctp::SCTPDataVariables::setLastDestination ( SCTPPathVariables path)
inline

Referenced by inet::sctp::SCTPAssociation::loadPacket(), and inet::sctp::SCTPAssociation::sendOnPath().

447  {
448  lastDestination = path;
449  }
SCTPPathVariables * lastDestination
Definition: SCTPAssociation.h:534
void inet::sctp::SCTPDataVariables::setNextDestination ( SCTPPathVariables path)
inline

Member Data Documentation

SCTPPathVariables* inet::sctp::SCTPDataVariables::ackedOnPath
simtime_t inet::sctp::SCTPDataVariables::enqueuingTime
uint32 inet::sctp::SCTPDataVariables::fragments
bool inet::sctp::SCTPDataVariables::hasBeenCountedAsNewlyAcked
SCTPPathVariables* inet::sctp::SCTPDataVariables::initialDestination
private
SCTPPathVariables* inet::sctp::SCTPDataVariables::lastDestination
private
SCTPPathVariables* inet::sctp::SCTPDataVariables::nextDestination
private
bool inet::sctp::SCTPDataVariables::strReset
bool inet::sctp::SCTPDataVariables::wasDropped
bool inet::sctp::SCTPDataVariables::wasPktDropped

The documentation for this class was generated from the following files: