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

Class generated from inet/transportlayer/tcp_common/TcpHeader.msg:102 by opp_msgtool. More...

#include <TcpHeader_m.h>

Inheritance diagram for inet::tcp::TcpOption:
inet::tcp::TcpOptionEnd inet::tcp::TcpOptionMaxSegmentSize inet::tcp::TcpOptionNop inet::tcp::TcpOptionSack inet::tcp::TcpOptionSackPermitted inet::tcp::TcpOptionTimestamp inet::tcp::TcpOptionUnknown inet::tcp::TcpOptionWindowScale

Public Member Functions

 TcpOption ()
 
 TcpOption (const TcpOption &other)
 
virtual ~TcpOption ()
 
TcpOptionoperator= (const TcpOption &other)
 
virtual TcpOptiondup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual TcpOptionNumbers getKind () const
 
virtual void setKind (TcpOptionNumbers kind)
 
virtual unsigned short getLength () const
 
virtual void setLength (unsigned short length)
 

Protected Member Functions

bool operator== (const TcpOption &)=delete
 

Protected Attributes

TcpOptionNumbers kind = static_cast<inet::tcp::TcpOptionNumbers>(-1)
 
unsigned short length = 1
 

Private Member Functions

void copy (const TcpOption &other)
 

Detailed Description

Class generated from inet/transportlayer/tcp_common/TcpHeader.msg:102 by opp_msgtool.

// Header Options (optional):
class TcpOption extends cObject
{
    @packetData;
    TcpOptionNumbers kind;            // option kind
    unsigned short length = 1;                    // option length
}

Constructor & Destructor Documentation

◆ TcpOption() [1/2]

inet::tcp::TcpOption::TcpOption ( )

◆ TcpOption() [2/2]

inet::tcp::TcpOption::TcpOption ( const TcpOption other)

◆ ~TcpOption()

virtual inet::tcp::TcpOption::~TcpOption ( )
virtual

Member Function Documentation

◆ copy()

void inet::tcp::TcpOption::copy ( const TcpOption other)
private

◆ dup()

◆ getKind()

◆ getLength()

◆ operator=()

TcpOption& inet::tcp::TcpOption::operator= ( const TcpOption other)

◆ operator==()

bool inet::tcp::TcpOption::operator== ( const TcpOption )
protecteddelete

◆ parsimPack()

◆ parsimUnpack()

◆ setKind()

virtual void inet::tcp::TcpOption::setKind ( TcpOptionNumbers  kind)
virtual

◆ setLength()

virtual void inet::tcp::TcpOption::setLength ( unsigned short  length)
virtual

Member Data Documentation

◆ kind

TcpOptionNumbers inet::tcp::TcpOption::kind = static_cast<inet::tcp::TcpOptionNumbers>(-1)
protected

◆ length

unsigned short inet::tcp::TcpOption::length = 1
protected

The documentation for this class was generated from the following file:
inet::tcp::TcpOption::TcpOption
TcpOption()