INET Framework for OMNeT++/OMNEST
inet::tcp::TCPOptionUnknown Class Reference

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:182 by nedtool. More...

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOptionUnknown:
inet::tcp::TCPOption

Public Member Functions

 TCPOptionUnknown ()
 
 TCPOptionUnknown (const TCPOptionUnknown &other)
 
virtual ~TCPOptionUnknown ()
 
TCPOptionUnknownoperator= (const TCPOptionUnknown &other)
 
virtual TCPOptionUnknowndup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setBytesArraySize (unsigned int size)
 
virtual unsigned int getBytesArraySize () const
 
virtual uint8_t getBytes (unsigned int k) const
 
virtual void setBytes (unsigned int k, uint8_t bytes)
 
- Public Member Functions inherited from inet::tcp::TCPOption
 TCPOption ()
 
 TCPOption (const TCPOption &other)
 
virtual ~TCPOption ()
 
TCPOptionoperator= (const TCPOption &other)
 
virtual unsigned short getKind () const
 
virtual void setKind (unsigned short kind)
 
virtual unsigned short getLength () const
 
virtual void setLength (unsigned short length)
 

Protected Member Functions

bool operator== (const TCPOptionUnknown &)
 
- Protected Member Functions inherited from inet::tcp::TCPOption
bool operator== (const TCPOption &)
 

Protected Attributes

uint8_t * bytes
 
unsigned int bytes_arraysize
 
- Protected Attributes inherited from inet::tcp::TCPOption
unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOptionUnknown &other)
 

Detailed Description

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:182 by nedtool.

class TCPOptionUnknown extends TCPOption
{
    kind = -1;
    uint8_t bytes[];
}

Constructor & Destructor Documentation

inet::tcp::TCPOptionUnknown::TCPOptionUnknown ( )
inet::tcp::TCPOptionUnknown::TCPOptionUnknown ( const TCPOptionUnknown other)
virtual inet::tcp::TCPOptionUnknown::~TCPOptionUnknown ( )
virtual

Member Function Documentation

void inet::tcp::TCPOptionUnknown::copy ( const TCPOptionUnknown other)
private
virtual TCPOptionUnknown* inet::tcp::TCPOptionUnknown::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::tcp::TCPOption.

570 {return new TCPOptionUnknown(*this);}
virtual uint8_t inet::tcp::TCPOptionUnknown::getBytes ( unsigned int  k) const
virtual
virtual unsigned int inet::tcp::TCPOptionUnknown::getBytesArraySize ( ) const
virtual
TCPOptionUnknown& inet::tcp::TCPOptionUnknown::operator= ( const TCPOptionUnknown other)
bool inet::tcp::TCPOptionUnknown::operator== ( const TCPOptionUnknown )
protected
virtual void inet::tcp::TCPOptionUnknown::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionUnknown::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionUnknown::setBytes ( unsigned int  k,
uint8_t  bytes 
)
virtual
virtual void inet::tcp::TCPOptionUnknown::setBytesArraySize ( unsigned int  size)
virtual

Member Data Documentation

uint8_t* inet::tcp::TCPOptionUnknown::bytes
protected
unsigned int inet::tcp::TCPOptionUnknown::bytes_arraysize
protected

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