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

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

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::SCTPInitChunk:
inet::sctp::SCTPChunk

Public Member Functions

 SCTPInitChunk (const char *name=nullptr, short kind=0)
 
 SCTPInitChunk (const SCTPInitChunk &other)
 
virtual ~SCTPInitChunk ()
 
SCTPInitChunkoperator= (const SCTPInitChunk &other)
 
virtual SCTPInitChunkdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint32_t getInitTag () const
 
virtual void setInitTag (uint32_t initTag)
 
virtual uint32_t getA_rwnd () const
 
virtual void setA_rwnd (uint32_t a_rwnd)
 
virtual uint16_t getNoOutStreams () const
 
virtual void setNoOutStreams (uint16_t noOutStreams)
 
virtual uint16_t getNoInStreams () const
 
virtual void setNoInStreams (uint16_t noInStreams)
 
virtual uint32_t getInitTSN () const
 
virtual void setInitTSN (uint32_t initTSN)
 
virtual bool getForwardTsn () const
 
virtual void setForwardTsn (bool forwardTsn)
 
virtual bool getIpv4Supported () const
 
virtual void setIpv4Supported (bool ipv4Supported)
 
virtual bool getIpv6Supported () const
 
virtual void setIpv6Supported (bool ipv6Supported)
 
virtual void setAddressesArraySize (unsigned int size)
 
virtual unsigned int getAddressesArraySize () const
 
virtual L3AddressgetAddresses (unsigned int k)
 
virtual const L3AddressgetAddresses (unsigned int k) const
 
virtual void setAddresses (unsigned int k, const L3Address &addresses)
 
virtual void setUnrecognizedParametersArraySize (unsigned int size)
 
virtual unsigned int getUnrecognizedParametersArraySize () const
 
virtual uint8_t getUnrecognizedParameters (unsigned int k) const
 
virtual void setUnrecognizedParameters (unsigned int k, uint8_t unrecognizedParameters)
 
virtual uint32_t getMsg_rwnd () const
 
virtual void setMsg_rwnd (uint32_t msg_rwnd)
 
virtual void setChunkTypesArraySize (unsigned int size)
 
virtual unsigned int getChunkTypesArraySize () const
 
virtual uint16_t getChunkTypes (unsigned int k) const
 
virtual void setChunkTypes (unsigned int k, uint16_t chunkTypes)
 
virtual void setSepChunksArraySize (unsigned int size)
 
virtual unsigned int getSepChunksArraySize () const
 
virtual uint16_t getSepChunks (unsigned int k) const
 
virtual void setSepChunks (unsigned int k, uint16_t sepChunks)
 
virtual void setHmacTypesArraySize (unsigned int size)
 
virtual unsigned int getHmacTypesArraySize () const
 
virtual uint16_t getHmacTypes (unsigned int k) const
 
virtual void setHmacTypes (unsigned int k, uint16_t hmacTypes)
 
virtual void setRandomArraySize (unsigned int size)
 
virtual unsigned int getRandomArraySize () const
 
virtual uint8_t getRandom (unsigned int k) const
 
virtual void setRandom (unsigned int k, uint8_t random)
 
- 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 SCTPInitChunk &)
 
- Protected Member Functions inherited from inet::sctp::SCTPChunk
bool operator== (const SCTPChunk &)
 

Protected Attributes

uint32_t initTag
 
uint32_t a_rwnd
 
uint16_t noOutStreams
 
uint16_t noInStreams
 
uint32_t initTSN
 
bool forwardTsn
 
bool ipv4Supported
 
bool ipv6Supported
 
L3Addressaddresses
 
unsigned int addresses_arraysize
 
uint8_t * unrecognizedParameters
 
unsigned int unrecognizedParameters_arraysize
 
uint32_t msg_rwnd
 
uint16_t * chunkTypes
 
unsigned int chunkTypes_arraysize
 
uint16_t * sepChunks
 
unsigned int sepChunks_arraysize
 
uint16_t * hmacTypes
 
unsigned int hmacTypes_arraysize
 
uint8_t * random
 
unsigned int random_arraysize
 
- Protected Attributes inherited from inet::sctp::SCTPChunk
uint8_t chunkType
 
uint32_t flags
 

Private Member Functions

void copy (const SCTPInitChunk &other)
 

Detailed Description

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

message SCTPInitChunk extends SCTPChunk
{
    // Initiate Tag
    uint32 initTag;
    // Advertised Receiver Window
    uint32 a_rwnd;
    // Number of Outbound Streams
    uint16 noOutStreams;
    // Number of Inbound Streams
    uint16 noInStreams;
    // Initial TSN
    uint32 initTSN;
    bool forwardTsn;
    bool ipv4Supported;
    bool ipv6Supported;
    L3Address addresses[];
    uint8 unrecognizedParameters[]; //Will be filled by the Parser, if unrecognized Parameters arrive.
    uint32 msg_rwnd;
    uint16 chunkTypes[]; //Chunk list parameter, i.e. for SCTP AUTH
    uint16 sepChunks[]; //Supported extensions parameter, i.e. for StreamReset
    uint16 hmacTypes[]; //HMAC Identifier for HMAC algorithm parameter
    uint8 random[]; //Random Parameter for SCTP AUTH
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::SCTPAssociation::retransmitInit(), and inet::sctp::SCTPAssociation::sendInit().

234 {return new SCTPInitChunk(*this);}
SCTPInitChunk(const char *name=nullptr, short kind=0)
virtual L3Address& inet::sctp::SCTPInitChunk::getAddresses ( unsigned int  k)
virtual
virtual const L3Address& inet::sctp::SCTPInitChunk::getAddresses ( unsigned int  k) const
inlinevirtual

Referenced by getAddresses().

258 {return const_cast<SCTPInitChunk*>(this)->getAddresses(k);}
virtual L3Address & getAddresses(unsigned int k)
SCTPInitChunk(const char *name=nullptr, short kind=0)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::sctp::SCTPInitChunk::getAddressesArraySize ( ) const
virtual
virtual uint16_t inet::sctp::SCTPInitChunk::getChunkTypes ( unsigned int  k) const
virtual
virtual bool inet::sctp::SCTPInitChunk::getForwardTsn ( ) const
virtual
virtual uint16_t inet::sctp::SCTPInitChunk::getHmacTypes ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPInitChunk::getHmacTypesArraySize ( ) const
virtual
virtual bool inet::sctp::SCTPInitChunk::getIpv4Supported ( ) const
virtual
virtual bool inet::sctp::SCTPInitChunk::getIpv6Supported ( ) const
virtual
virtual uint32_t inet::sctp::SCTPInitChunk::getMsg_rwnd ( ) const
virtual
virtual uint8_t inet::sctp::SCTPInitChunk::getRandom ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPInitChunk::getRandomArraySize ( ) const
virtual
virtual uint16_t inet::sctp::SCTPInitChunk::getSepChunks ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPInitChunk::getSepChunksArraySize ( ) const
virtual
virtual uint8_t inet::sctp::SCTPInitChunk::getUnrecognizedParameters ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPInitChunk::getUnrecognizedParametersArraySize ( ) const
virtual
SCTPInitChunk& inet::sctp::SCTPInitChunk::operator= ( const SCTPInitChunk other)
bool inet::sctp::SCTPInitChunk::operator== ( const SCTPInitChunk )
protected
virtual void inet::sctp::SCTPInitChunk::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

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

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

Reimplemented from inet::sctp::SCTPChunk.

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

virtual void inet::sctp::SCTPInitChunk::setA_rwnd ( uint32_t  a_rwnd)
virtual
virtual void inet::sctp::SCTPInitChunk::setAddresses ( unsigned int  k,
const L3Address addresses 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setAddressesArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPInitChunk::setChunkTypes ( unsigned int  k,
uint16_t  chunkTypes 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setChunkTypesArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPInitChunk::setForwardTsn ( bool  forwardTsn)
virtual
virtual void inet::sctp::SCTPInitChunk::setHmacTypes ( unsigned int  k,
uint16_t  hmacTypes 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setHmacTypesArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPInitChunk::setInitTag ( uint32_t  initTag)
virtual
virtual void inet::sctp::SCTPInitChunk::setInitTSN ( uint32_t  initTSN)
virtual
virtual void inet::sctp::SCTPInitChunk::setIpv4Supported ( bool  ipv4Supported)
virtual
virtual void inet::sctp::SCTPInitChunk::setIpv6Supported ( bool  ipv6Supported)
virtual
virtual void inet::sctp::SCTPInitChunk::setMsg_rwnd ( uint32_t  msg_rwnd)
virtual
virtual void inet::sctp::SCTPInitChunk::setNoInStreams ( uint16_t  noInStreams)
virtual
virtual void inet::sctp::SCTPInitChunk::setNoOutStreams ( uint16_t  noOutStreams)
virtual
virtual void inet::sctp::SCTPInitChunk::setRandom ( unsigned int  k,
uint8_t  random 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setRandomArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPInitChunk::setSepChunks ( unsigned int  k,
uint16_t  sepChunks 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setSepChunksArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPInitChunk::setUnrecognizedParameters ( unsigned int  k,
uint8_t  unrecognizedParameters 
)
virtual
virtual void inet::sctp::SCTPInitChunk::setUnrecognizedParametersArraySize ( unsigned int  size)
virtual

Member Data Documentation

uint32_t inet::sctp::SCTPInitChunk::a_rwnd
protected
L3Address* inet::sctp::SCTPInitChunk::addresses
protected
unsigned int inet::sctp::SCTPInitChunk::addresses_arraysize
protected
uint16_t* inet::sctp::SCTPInitChunk::chunkTypes
protected
unsigned int inet::sctp::SCTPInitChunk::chunkTypes_arraysize
protected
bool inet::sctp::SCTPInitChunk::forwardTsn
protected
uint16_t* inet::sctp::SCTPInitChunk::hmacTypes
protected
unsigned int inet::sctp::SCTPInitChunk::hmacTypes_arraysize
protected
uint32_t inet::sctp::SCTPInitChunk::initTag
protected
uint32_t inet::sctp::SCTPInitChunk::initTSN
protected
bool inet::sctp::SCTPInitChunk::ipv4Supported
protected
bool inet::sctp::SCTPInitChunk::ipv6Supported
protected
uint32_t inet::sctp::SCTPInitChunk::msg_rwnd
protected
uint16_t inet::sctp::SCTPInitChunk::noInStreams
protected
uint16_t inet::sctp::SCTPInitChunk::noOutStreams
protected
uint8_t* inet::sctp::SCTPInitChunk::random
protected
unsigned int inet::sctp::SCTPInitChunk::random_arraysize
protected
uint16_t* inet::sctp::SCTPInitChunk::sepChunks
protected
unsigned int inet::sctp::SCTPInitChunk::sepChunks_arraysize
protected
uint8_t* inet::sctp::SCTPInitChunk::unrecognizedParameters
protected
unsigned int inet::sctp::SCTPInitChunk::unrecognizedParameters_arraysize
protected

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