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

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

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOptionMaxSegmentSize:
inet::tcp::TCPOption

Public Member Functions

 TCPOptionMaxSegmentSize ()
 
 TCPOptionMaxSegmentSize (const TCPOptionMaxSegmentSize &other)
 
virtual ~TCPOptionMaxSegmentSize ()
 
TCPOptionMaxSegmentSizeoperator= (const TCPOptionMaxSegmentSize &other)
 
virtual TCPOptionMaxSegmentSizedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint16_t getMaxSegmentSize () const
 
virtual void setMaxSegmentSize (uint16_t maxSegmentSize)
 
- 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 TCPOptionMaxSegmentSize &)
 
- Protected Member Functions inherited from inet::tcp::TCPOption
bool operator== (const TCPOption &)
 

Protected Attributes

uint16_t maxSegmentSize
 
- Protected Attributes inherited from inet::tcp::TCPOption
unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOptionMaxSegmentSize &other)
 

Detailed Description

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

class TCPOptionMaxSegmentSize extends TCPOption
{
    kind = TCPOPTION_MAXIMUM_SEGMENT_SIZE;
    length = 4;
    uint16_t maxSegmentSize;   // uint16_t
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::tcp::TCPOption.

virtual uint16_t inet::tcp::TCPOptionMaxSegmentSize::getMaxSegmentSize ( ) const
virtual
TCPOptionMaxSegmentSize& inet::tcp::TCPOptionMaxSegmentSize::operator= ( const TCPOptionMaxSegmentSize other)
bool inet::tcp::TCPOptionMaxSegmentSize::operator== ( const TCPOptionMaxSegmentSize )
protected
virtual void inet::tcp::TCPOptionMaxSegmentSize::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

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

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionMaxSegmentSize::setMaxSegmentSize ( uint16_t  maxSegmentSize)
virtual

Member Data Documentation

uint16_t inet::tcp::TCPOptionMaxSegmentSize::maxSegmentSize
protected

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