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

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

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::SCTPAuthenticationChunk:
inet::sctp::SCTPChunk

Public Member Functions

 SCTPAuthenticationChunk (const char *name=nullptr, short kind=0)
 
 SCTPAuthenticationChunk (const SCTPAuthenticationChunk &other)
 
virtual ~SCTPAuthenticationChunk ()
 
SCTPAuthenticationChunkoperator= (const SCTPAuthenticationChunk &other)
 
virtual SCTPAuthenticationChunkdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint16_t getSharedKey () const
 
virtual void setSharedKey (uint16_t sharedKey)
 
virtual uint16_t getHMacIdentifier () const
 
virtual void setHMacIdentifier (uint16_t hMacIdentifier)
 
virtual bool getHMacOk () const
 
virtual void setHMacOk (bool hMacOk)
 
virtual void setHMACArraySize (unsigned int size)
 
virtual unsigned int getHMACArraySize () const
 
virtual uint32_t getHMAC (unsigned int k) const
 
virtual void setHMAC (unsigned int k, uint32_t HMAC)
 
- 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 SCTPAuthenticationChunk &)
 
- Protected Member Functions inherited from inet::sctp::SCTPChunk
bool operator== (const SCTPChunk &)
 

Protected Attributes

uint16_t sharedKey
 
uint16_t hMacIdentifier
 
bool hMacOk
 
uint32_t * HMAC
 
unsigned int HMAC_arraysize
 
- Protected Attributes inherited from inet::sctp::SCTPChunk
uint8_t chunkType
 
uint32_t flags
 

Private Member Functions

void copy (const SCTPAuthenticationChunk &other)
 

Detailed Description

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

message SCTPAuthenticationChunk extends SCTPChunk
{
    uint16 sharedKey;
    uint16 hMacIdentifier;
    bool hMacOk;
    uint32 HMAC[];
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::sctp::SCTPChunk.

1734 {return new SCTPAuthenticationChunk(*this);}
SCTPAuthenticationChunk(const char *name=nullptr, short kind=0)
virtual uint32_t inet::sctp::SCTPAuthenticationChunk::getHMAC ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPAuthenticationChunk::getHMACArraySize ( ) const
virtual
virtual uint16_t inet::sctp::SCTPAuthenticationChunk::getHMacIdentifier ( ) const
virtual
virtual bool inet::sctp::SCTPAuthenticationChunk::getHMacOk ( ) const
virtual
virtual uint16_t inet::sctp::SCTPAuthenticationChunk::getSharedKey ( ) const
virtual
SCTPAuthenticationChunk& inet::sctp::SCTPAuthenticationChunk::operator= ( const SCTPAuthenticationChunk other)
bool inet::sctp::SCTPAuthenticationChunk::operator== ( const SCTPAuthenticationChunk )
protected
virtual void inet::sctp::SCTPAuthenticationChunk::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

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

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

Reimplemented from inet::sctp::SCTPChunk.

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

virtual void inet::sctp::SCTPAuthenticationChunk::setHMAC ( unsigned int  k,
uint32_t  HMAC 
)
virtual
virtual void inet::sctp::SCTPAuthenticationChunk::setHMACArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPAuthenticationChunk::setHMacIdentifier ( uint16_t  hMacIdentifier)
virtual
virtual void inet::sctp::SCTPAuthenticationChunk::setHMacOk ( bool  hMacOk)
virtual
virtual void inet::sctp::SCTPAuthenticationChunk::setSharedKey ( uint16_t  sharedKey)
virtual

Member Data Documentation

uint32_t* inet::sctp::SCTPAuthenticationChunk::HMAC
protected
unsigned int inet::sctp::SCTPAuthenticationChunk::HMAC_arraysize
protected
uint16_t inet::sctp::SCTPAuthenticationChunk::hMacIdentifier
protected
bool inet::sctp::SCTPAuthenticationChunk::hMacOk
protected
uint16_t inet::sctp::SCTPAuthenticationChunk::sharedKey
protected

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