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

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

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOptionSack:
inet::tcp::TCPOption

Public Member Functions

 TCPOptionSack ()
 
 TCPOptionSack (const TCPOptionSack &other)
 
virtual ~TCPOptionSack ()
 
TCPOptionSackoperator= (const TCPOptionSack &other)
 
virtual TCPOptionSackdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setSackItemArraySize (unsigned int size)
 
virtual unsigned int getSackItemArraySize () const
 
virtual SackItemgetSackItem (unsigned int k)
 
virtual const SackItemgetSackItem (unsigned int k) const
 
virtual void setSackItem (unsigned int k, const SackItem &sackItem)
 
- 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 TCPOptionSack &)
 
- Protected Member Functions inherited from inet::tcp::TCPOption
bool operator== (const TCPOption &)
 

Protected Attributes

SackItemsackItem
 
unsigned int sackItem_arraysize
 
- Protected Attributes inherited from inet::tcp::TCPOption
unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOptionSack &other)
 

Detailed Description

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

class TCPOptionSack extends TCPOption
{
    kind = TCPOPTION_SACK;
    length = 2;     // 2 + getSackArraySize() * 8
    SackItem sackItem[];
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::tcp::TCPOption.

483 {return new TCPOptionSack(*this);}
virtual SackItem& inet::tcp::TCPOptionSack::getSackItem ( unsigned int  k)
virtual
virtual const SackItem& inet::tcp::TCPOptionSack::getSackItem ( unsigned int  k) const
inlinevirtual

Referenced by getSackItem().

491 {return const_cast<TCPOptionSack*>(this)->getSackItem(k);}
virtual SackItem & getSackItem(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::tcp::TCPOptionSack::getSackItemArraySize ( ) const
virtual
TCPOptionSack& inet::tcp::TCPOptionSack::operator= ( const TCPOptionSack other)
bool inet::tcp::TCPOptionSack::operator== ( const TCPOptionSack )
protected
virtual void inet::tcp::TCPOptionSack::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

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

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionSack::setSackItem ( unsigned int  k,
const SackItem sackItem 
)
virtual
virtual void inet::tcp::TCPOptionSack::setSackItemArraySize ( unsigned int  size)
virtual

Member Data Documentation

SackItem* inet::tcp::TCPOptionSack::sackItem
protected
unsigned int inet::tcp::TCPOptionSack::sackItem_arraysize
protected

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