|
INET Framework for OMNeT++/OMNEST
|
#include <SctpHeader.h>
Public Member Functions | |
| SctpErrorChunk (const char *name=nullptr, int32_t kind=0) | |
| SctpErrorChunk (const SctpErrorChunk &other) | |
| SctpErrorChunk & | operator= (const SctpErrorChunk &other) |
| ~SctpErrorChunk () | |
| virtual SctpErrorChunk * | dup () const override |
| virtual void | setParametersArraySize (size_t size) override |
| virtual size_t | getParametersArraySize () const override |
| virtual void | setParameters (size_t k, SctpParameter *parameters) override |
| Generated but unused method, should not be called. More... | |
| virtual void | appendParameters (SctpParameter *parameters) override |
| virtual void | insertParameters (size_t k, SctpParameter *parameters) override |
| virtual void | eraseParameters (size_t k) override |
| virtual SctpParameter * | getParameters (size_t k) const override |
| Returns the kth parameter in this SCTP Error Chunk. More... | |
| virtual void | addParameters (SctpParameter *msg) |
| Adds a message object to the SCTP packet. More... | |
| virtual SctpParameter * | removeParameter () |
| Removes and returns the first message object in this SCTP packet. More... | |
| virtual void | insertParameters (size_t k, SctpParameter *parameters)=0 |
| void | insertParameters (SctpParameter *parameters) |
Public Member Functions inherited from inet::sctp::SctpErrorChunk_Base | |
| virtual | ~SctpErrorChunk_Base () |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual bool | getTBit () const |
| virtual void | setTBit (bool TBit) |
| virtual bool | getMBit () const |
| virtual void | setMBit (bool MBit) |
| virtual SctpParameter * | getParametersForUpdate (size_t k) |
| void | insertParameters (SctpParameter *parameters) |
Public Member Functions inherited from inet::sctp::SctpChunk | |
| SctpChunk (const char *name=nullptr) | |
| SctpChunk (const SctpChunk &other) | |
| virtual | ~SctpChunk () |
| SctpChunk & | operator= (const SctpChunk &other) |
| virtual uint8_t | getSctpChunkType () const |
| virtual void | setSctpChunkType (uint8_t sctpChunkType) |
| virtual uint32_t | getFlags () const |
| virtual void | setFlags (uint32_t flags) |
| virtual unsigned short | getLength () const |
| virtual void | setLength (unsigned short length) |
| virtual void | setChunkNameArraySize (size_t size) |
| virtual size_t | getChunkNameArraySize () const |
| virtual char | getChunkName (size_t k) const |
| virtual void | setChunkName (size_t k, char chunkName) |
| virtual void | insertChunkName (size_t k, char chunkName) |
| void | insertChunkName (char chunkName) |
| virtual void | appendChunkName (char chunkName) |
| virtual void | eraseChunkName (size_t k) |
Protected Attributes | |
| std::vector< SctpParameter * > | parameterList |
Protected Attributes inherited from inet::sctp::SctpErrorChunk_Base | |
| bool | TBit = 0 |
| bool | MBit = 0 |
Protected Attributes inherited from inet::sctp::SctpChunk | |
| uint8_t | sctpChunkType = 0 |
| uint32_t | flags = 0 |
| unsigned short | length = 0 |
| char * | chunkName = nullptr |
| size_t | chunkName_arraysize = 0 |
Private Member Functions | |
| void | copy (const SctpErrorChunk &other) |
| void | clean () |
Additional Inherited Members | |
Protected Member Functions inherited from inet::sctp::SctpErrorChunk_Base | |
| bool | operator== (const SctpErrorChunk_Base &)=delete |
| SctpErrorChunk_Base (const char *name=nullptr) | |
| SctpErrorChunk_Base (const SctpErrorChunk_Base &other) | |
| SctpErrorChunk_Base & | operator= (const SctpErrorChunk_Base &other) |
Protected Member Functions inherited from inet::sctp::SctpChunk | |
| bool | operator== (const SctpChunk &)=delete |
|
inline |
|
inline |
| inet::sctp::SctpErrorChunk::~SctpErrorChunk | ( | ) |
|
virtual |
Adds a message object to the SCTP packet.
The packet length will be adjusted
Referenced by inet::sctp::SctpHeaderSerializer::deserialize(), inet::sctp::SctpNatHook::sendBackError(), inet::sctp::SctpAssociation::sendHMacError(), and inet::sctp::SctpAssociation::sendInvalidStreamError().
|
inlineoverridevirtual |
Implements inet::sctp::SctpErrorChunk_Base.
|
private |
Referenced by operator=(), and ~SctpErrorChunk().
|
private |
Referenced by operator=().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements inet::sctp::SctpErrorChunk_Base.
|
overridevirtual |
Returns the kth parameter in this SCTP Error Chunk.
Implements inet::sctp::SctpErrorChunk_Base.
Referenced by inet::sctp::SctpAssociation::processErrorArrived(), and inet::sctp::SctpHeaderSerializer::serialize().
|
overridevirtual |
Implements inet::sctp::SctpErrorChunk_Base.
Referenced by inet::sctp::SctpAssociation::processErrorArrived(), and inet::sctp::SctpHeaderSerializer::serialize().
|
inline |
|
inlineoverridevirtual |
Implements inet::sctp::SctpErrorChunk_Base.
| virtual void inet::sctp::SctpErrorChunk_Base::insertParameters |
| SctpErrorChunk & inet::sctp::SctpErrorChunk::operator= | ( | const SctpErrorChunk & | other | ) |
|
virtual |
Removes and returns the first message object in this SCTP packet.
|
overridevirtual |
Generated but unused method, should not be called.
Implements inet::sctp::SctpErrorChunk_Base.
|
overridevirtual |
Implements inet::sctp::SctpErrorChunk_Base.
|
protected |
Referenced by addParameters(), clean(), copy(), getParameters(), getParametersArraySize(), and removeParameter().