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

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:177 by nedtool. More...

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::SCTPSackChunk:
inet::sctp::SCTPChunk

Public Member Functions

 SCTPSackChunk (const char *name=nullptr, short kind=0)
 
 SCTPSackChunk (const SCTPSackChunk &other)
 
virtual ~SCTPSackChunk ()
 
SCTPSackChunkoperator= (const SCTPSackChunk &other)
 
virtual SCTPSackChunkdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint32_t getCumTsnAck () const
 
virtual void setCumTsnAck (uint32_t cumTsnAck)
 
virtual uint32_t getA_rwnd () const
 
virtual void setA_rwnd (uint32_t a_rwnd)
 
virtual uint16_t getNumGaps () const
 
virtual void setNumGaps (uint16_t numGaps)
 
virtual uint16_t getNumNrGaps () const
 
virtual void setNumNrGaps (uint16_t numNrGaps)
 
virtual uint16_t getNumDupTsns () const
 
virtual void setNumDupTsns (uint16_t numDupTsns)
 
virtual bool getIsNrSack () const
 
virtual void setIsNrSack (bool isNrSack)
 
virtual void setGapStartArraySize (unsigned int size)
 
virtual unsigned int getGapStartArraySize () const
 
virtual uint32_t getGapStart (unsigned int k) const
 
virtual void setGapStart (unsigned int k, uint32_t gapStart)
 
virtual void setGapStopArraySize (unsigned int size)
 
virtual unsigned int getGapStopArraySize () const
 
virtual uint32_t getGapStop (unsigned int k) const
 
virtual void setGapStop (unsigned int k, uint32_t gapStop)
 
virtual void setDupTsnsArraySize (unsigned int size)
 
virtual unsigned int getDupTsnsArraySize () const
 
virtual uint32_t getDupTsns (unsigned int k) const
 
virtual void setDupTsns (unsigned int k, uint32_t dupTsns)
 
virtual uint32_t getSackSeqNum () const
 
virtual void setSackSeqNum (uint32_t sackSeqNum)
 
virtual void setNrGapStartArraySize (unsigned int size)
 
virtual unsigned int getNrGapStartArraySize () const
 
virtual uint32_t getNrGapStart (unsigned int k) const
 
virtual void setNrGapStart (unsigned int k, uint32_t nrGapStart)
 
virtual void setNrGapStopArraySize (unsigned int size)
 
virtual unsigned int getNrGapStopArraySize () const
 
virtual uint32_t getNrGapStop (unsigned int k) const
 
virtual void setNrGapStop (unsigned int k, uint32_t nrGapStop)
 
virtual uint32_t getMsg_rwnd () const
 
virtual void setMsg_rwnd (uint32_t msg_rwnd)
 
virtual uint8_t getDacPacketsRcvd () const
 
virtual void setDacPacketsRcvd (uint8_t dacPacketsRcvd)
 
virtual bool getNrSubtractRGaps () const
 
virtual void setNrSubtractRGaps (bool nrSubtractRGaps)
 
- Public Member Functions inherited from inet::sctp::SCTPChunk
 SCTPChunk (const char *name=nullptr, short kind=0)
 
 SCTPChunk (const SCTPChunk &other)
 
virtual ~SCTPChunk ()
 
SCTPChunkoperator= (const SCTPChunk &other)
 
virtual uint8_t getChunkType () const
 
virtual void setChunkType (uint8_t chunkType)
 
virtual uint32_t getFlags () const
 
virtual void setFlags (uint32_t flags)
 

Protected Member Functions

bool operator== (const SCTPSackChunk &)
 
- Protected Member Functions inherited from inet::sctp::SCTPChunk
bool operator== (const SCTPChunk &)
 

Protected Attributes

uint32_t cumTsnAck
 
uint32_t a_rwnd
 
uint16_t numGaps
 
uint16_t numNrGaps
 
uint16_t numDupTsns
 
bool isNrSack
 
uint32_t * gapStart
 
unsigned int gapStart_arraysize
 
uint32_t * gapStop
 
unsigned int gapStop_arraysize
 
uint32_t * dupTsns
 
unsigned int dupTsns_arraysize
 
uint32_t sackSeqNum
 
uint32_t * nrGapStart
 
unsigned int nrGapStart_arraysize
 
uint32_t * nrGapStop
 
unsigned int nrGapStop_arraysize
 
uint32_t msg_rwnd
 
uint8_t dacPacketsRcvd
 
bool nrSubtractRGaps
 
- Protected Attributes inherited from inet::sctp::SCTPChunk
uint8_t chunkType
 
uint32_t flags
 

Private Member Functions

void copy (const SCTPSackChunk &other)
 

Detailed Description

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:177 by nedtool.

message SCTPSackChunk extends SCTPChunk
{
    // Cumulative TSN Ack
    uint32 cumTsnAck;
    // Advertised Receiver Window Credit
    uint32 a_rwnd;
    // Number of Gap Ack Blocks
    uint16 numGaps;
    // Number of Non-Revokable Gap Ack Blocks
    uint16 numNrGaps;
    // Number of Duplicate TSNs
    uint16 numDupTsns;
    // Start and End of Gap Ack Blocks
    bool isNrSack;
    uint32 gapStart[];
    uint32 gapStop[];
    uint32 dupTsns[];
    uint32 sackSeqNum = 0;
    uint32 nrGapStart[];
    uint32 nrGapStop[];
    uint32 msg_rwnd;
    uint8 dacPacketsRcvd = 0;
    bool nrSubtractRGaps = false;
}

Constructor & Destructor Documentation

inet::sctp::SCTPSackChunk::SCTPSackChunk ( const char *  name = nullptr,
short  kind = 0 
)
inet::sctp::SCTPSackChunk::SCTPSackChunk ( const SCTPSackChunk other)
virtual inet::sctp::SCTPSackChunk::~SCTPSackChunk ( )
virtual

Member Function Documentation

void inet::sctp::SCTPSackChunk::copy ( const SCTPSackChunk other)
private
virtual SCTPSackChunk* inet::sctp::SCTPSackChunk::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::sctp::SCTPChunk.

860 {return new SCTPSackChunk(*this);}
SCTPSackChunk(const char *name=nullptr, short kind=0)
virtual uint8_t inet::sctp::SCTPSackChunk::getDacPacketsRcvd ( ) const
virtual
virtual uint32_t inet::sctp::SCTPSackChunk::getDupTsns ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPSackChunk::getDupTsnsArraySize ( ) const
virtual
virtual unsigned int inet::sctp::SCTPSackChunk::getGapStartArraySize ( ) const
virtual
virtual unsigned int inet::sctp::SCTPSackChunk::getGapStopArraySize ( ) const
virtual
virtual bool inet::sctp::SCTPSackChunk::getIsNrSack ( ) const
virtual
virtual uint32_t inet::sctp::SCTPSackChunk::getMsg_rwnd ( ) const
virtual
virtual uint32_t inet::sctp::SCTPSackChunk::getNrGapStart ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPSackChunk::getNrGapStartArraySize ( ) const
virtual
virtual uint32_t inet::sctp::SCTPSackChunk::getNrGapStop ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPSackChunk::getNrGapStopArraySize ( ) const
virtual
virtual bool inet::sctp::SCTPSackChunk::getNrSubtractRGaps ( ) const
virtual
virtual uint16_t inet::sctp::SCTPSackChunk::getNumNrGaps ( ) const
virtual
virtual uint32_t inet::sctp::SCTPSackChunk::getSackSeqNum ( ) const
virtual
SCTPSackChunk& inet::sctp::SCTPSackChunk::operator= ( const SCTPSackChunk other)
bool inet::sctp::SCTPSackChunk::operator== ( const SCTPSackChunk )
protected
virtual void inet::sctp::SCTPSackChunk::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::doParsimPacking().

virtual void inet::sctp::SCTPSackChunk::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::doParsimUnpacking().

virtual void inet::sctp::SCTPSackChunk::setA_rwnd ( uint32_t  a_rwnd)
virtual
virtual void inet::sctp::SCTPSackChunk::setCumTsnAck ( uint32_t  cumTsnAck)
virtual
virtual void inet::sctp::SCTPSackChunk::setDacPacketsRcvd ( uint8_t  dacPacketsRcvd)
virtual
virtual void inet::sctp::SCTPSackChunk::setDupTsns ( unsigned int  k,
uint32_t  dupTsns 
)
virtual
virtual void inet::sctp::SCTPSackChunk::setDupTsnsArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPSackChunk::setGapStart ( unsigned int  k,
uint32_t  gapStart 
)
virtual
virtual void inet::sctp::SCTPSackChunk::setGapStartArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPSackChunk::setGapStop ( unsigned int  k,
uint32_t  gapStop 
)
virtual
virtual void inet::sctp::SCTPSackChunk::setGapStopArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPSackChunk::setIsNrSack ( bool  isNrSack)
virtual
virtual void inet::sctp::SCTPSackChunk::setMsg_rwnd ( uint32_t  msg_rwnd)
virtual
virtual void inet::sctp::SCTPSackChunk::setNrGapStart ( unsigned int  k,
uint32_t  nrGapStart 
)
virtual
virtual void inet::sctp::SCTPSackChunk::setNrGapStartArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPSackChunk::setNrGapStop ( unsigned int  k,
uint32_t  nrGapStop 
)
virtual
virtual void inet::sctp::SCTPSackChunk::setNrGapStopArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPSackChunk::setNrSubtractRGaps ( bool  nrSubtractRGaps)
virtual
virtual void inet::sctp::SCTPSackChunk::setNumDupTsns ( uint16_t  numDupTsns)
virtual
virtual void inet::sctp::SCTPSackChunk::setNumNrGaps ( uint16_t  numNrGaps)
virtual
virtual void inet::sctp::SCTPSackChunk::setSackSeqNum ( uint32_t  sackSeqNum)
virtual

Member Data Documentation

uint32_t inet::sctp::SCTPSackChunk::a_rwnd
protected
uint32_t inet::sctp::SCTPSackChunk::cumTsnAck
protected
uint8_t inet::sctp::SCTPSackChunk::dacPacketsRcvd
protected
uint32_t* inet::sctp::SCTPSackChunk::dupTsns
protected
unsigned int inet::sctp::SCTPSackChunk::dupTsns_arraysize
protected
uint32_t* inet::sctp::SCTPSackChunk::gapStart
protected
unsigned int inet::sctp::SCTPSackChunk::gapStart_arraysize
protected
uint32_t* inet::sctp::SCTPSackChunk::gapStop
protected
unsigned int inet::sctp::SCTPSackChunk::gapStop_arraysize
protected
bool inet::sctp::SCTPSackChunk::isNrSack
protected
uint32_t inet::sctp::SCTPSackChunk::msg_rwnd
protected
uint32_t* inet::sctp::SCTPSackChunk::nrGapStart
protected
unsigned int inet::sctp::SCTPSackChunk::nrGapStart_arraysize
protected
uint32_t* inet::sctp::SCTPSackChunk::nrGapStop
protected
unsigned int inet::sctp::SCTPSackChunk::nrGapStop_arraysize
protected
bool inet::sctp::SCTPSackChunk::nrSubtractRGaps
protected
uint16_t inet::sctp::SCTPSackChunk::numDupTsns
protected
uint16_t inet::sctp::SCTPSackChunk::numGaps
protected
uint16_t inet::sctp::SCTPSackChunk::numNrGaps
protected
uint32_t inet::sctp::SCTPSackChunk::sackSeqNum
protected

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