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

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

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::SCTPCookieEchoChunk:
inet::sctp::SCTPChunk

Public Member Functions

 SCTPCookieEchoChunk (const char *name=nullptr, short kind=0)
 
 SCTPCookieEchoChunk (const SCTPCookieEchoChunk &other)
 
virtual ~SCTPCookieEchoChunk ()
 
SCTPCookieEchoChunkoperator= (const SCTPCookieEchoChunk &other)
 
virtual SCTPCookieEchoChunkdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setCookieArraySize (unsigned int size)
 
virtual unsigned int getCookieArraySize () const
 
virtual char getCookie (unsigned int k) const
 
virtual void setCookie (unsigned int k, char cookie)
 
virtual cPacketPtrgetStateCookie ()
 
virtual const cPacketPtrgetStateCookie () const
 
virtual void setStateCookie (const cPacketPtr &stateCookie)
 
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)
 
- 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 SCTPCookieEchoChunk &)
 
- Protected Member Functions inherited from inet::sctp::SCTPChunk
bool operator== (const SCTPChunk &)
 

Protected Attributes

char * cookie
 
unsigned int cookie_arraysize
 
cPacketPtr stateCookie
 
uint8_t * unrecognizedParameters
 
unsigned int unrecognizedParameters_arraysize
 
- Protected Attributes inherited from inet::sctp::SCTPChunk
uint8_t chunkType
 
uint32_t flags
 

Private Member Functions

void copy (const SCTPCookieEchoChunk &other)
 

Detailed Description

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

message SCTPCookieEchoChunk extends SCTPChunk
{
    char cookie[];
    cPacketPtr stateCookie = nullptr;
    uint8 unrecognizedParameters[]; //for the serializer to send an Error chunk bundled with a Cookie-Echo
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::SCTPAssociation::retransmitCookieEcho(), and inet::sctp::SCTPAssociation::sendCookieEcho().

449 {return new SCTPCookieEchoChunk(*this);}
virtual char inet::sctp::SCTPCookieEchoChunk::getCookie ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPCookieEchoChunk::getCookieArraySize ( ) const
virtual
virtual const cPacketPtr& inet::sctp::SCTPCookieEchoChunk::getStateCookie ( ) const
inlinevirtual

Referenced by getStateCookie().

459 {return const_cast<SCTPCookieEchoChunk*>(this)->getStateCookie();}
virtual uint8_t inet::sctp::SCTPCookieEchoChunk::getUnrecognizedParameters ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPCookieEchoChunk::getUnrecognizedParametersArraySize ( ) const
virtual
SCTPCookieEchoChunk& inet::sctp::SCTPCookieEchoChunk::operator= ( const SCTPCookieEchoChunk other)
bool inet::sctp::SCTPCookieEchoChunk::operator== ( const SCTPCookieEchoChunk )
protected
virtual void inet::sctp::SCTPCookieEchoChunk::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

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

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

Reimplemented from inet::sctp::SCTPChunk.

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

virtual void inet::sctp::SCTPCookieEchoChunk::setCookie ( unsigned int  k,
char  cookie 
)
virtual
virtual void inet::sctp::SCTPCookieEchoChunk::setCookieArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPCookieEchoChunk::setStateCookie ( const cPacketPtr stateCookie)
virtual
virtual void inet::sctp::SCTPCookieEchoChunk::setUnrecognizedParameters ( unsigned int  k,
uint8_t  unrecognizedParameters 
)
virtual
virtual void inet::sctp::SCTPCookieEchoChunk::setUnrecognizedParametersArraySize ( unsigned int  size)
virtual

Member Data Documentation

char* inet::sctp::SCTPCookieEchoChunk::cookie
protected
unsigned int inet::sctp::SCTPCookieEchoChunk::cookie_arraysize
protected
cPacketPtr inet::sctp::SCTPCookieEchoChunk::stateCookie
protected
uint8_t* inet::sctp::SCTPCookieEchoChunk::unrecognizedParameters
protected
unsigned int inet::sctp::SCTPCookieEchoChunk::unrecognizedParameters_arraysize
protected

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